couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jan Lehnardt (JIRA)" <j...@apache.org>
Subject [jira] [Created] (COUCHDB-1497) mime-type declaration in compressible_types config must use image/svg\\\+xml
Date Wed, 13 Jun 2012 08:28:42 GMT
Jan Lehnardt created COUCHDB-1497:
-------------------------------------

             Summary: mime-type declaration in compressible_types config must use image/svg\\\+xml
                 Key: COUCHDB-1497
                 URL: https://issues.apache.org/jira/browse/COUCHDB-1497
             Project: CouchDB
          Issue Type: Bug
          Components: Database Core
    Affects Versions: 1.2
         Environment: Any
            Reporter: Jan Lehnardt
            Priority: Minor
             Fix For: 1.2.1, 1.3


if you add a mine type to a compressible_type that includes a "+" as in image/svg+xml, the
compressable_type is ignored and attachment with that mime type are not compressed.

The workaround is to use image/svg\\\+xml, but we really should just encode the + and potentially
other characters that can show up in the mime-type spec before we use that string as a regex.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message