summaryrefslogtreecommitdiff
path: root/src/couchdb/couch_util.erl
diff options
context:
space:
mode:
authorJan Lehnardt <jan@apache.org>2010-05-19 22:25:39 +0000
committerJan Lehnardt <jan@apache.org>2010-05-19 22:25:39 +0000
commit78685de6d952e2e123de224663b818931becb454 (patch)
treed5e99d49e93ca4fa2bb78cef31e000c8061ac7b8 /src/couchdb/couch_util.erl
parent2bae1cc94a9f625506bd8d5fcbcabdd86dc899d3 (diff)
no newlines in .ini files
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@946465 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/couchdb/couch_util.erl')
-rw-r--r--src/couchdb/couch_util.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/couchdb/couch_util.erl b/src/couchdb/couch_util.erl
index af27636b..69f78042 100644
--- a/src/couchdb/couch_util.erl
+++ b/src/couchdb/couch_util.erl
@@ -397,7 +397,7 @@ compressible_att_type(MimeType) when is_binary(MimeType) ->
compressible_att_type(MimeType) ->
TypeExpList = re:split(
couch_config:get("attachments", "compressible_types", ""),
- "\\s+",
+ ", ?",
[{return, list}]
),
lists:any(