[dna-issues] [JBoss JIRA] Resolved: (DNA-528) Loading Additional Mimetypes Via Stream Does Not Work in MimeTypeUtil
Dan Florian (JIRA)
jira-events at lists.jboss.org
Fri Sep 25 17:19:49 EDT 2009
[ https://jira.jboss.org/jira/browse/DNA-528?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Dan Florian resolved DNA-528.
-----------------------------
Resolution: Done
Fixed a regex in constructor that was nulling out all extensions loaded using the load method. Also fixed a problem where hidden files (files with just an extension) were not getting a mimetype. Added some tests.
> Loading Additional Mimetypes Via Stream Does Not Work in MimeTypeUtil
> ---------------------------------------------------------------------
>
> Key: DNA-528
> URL: https://jira.jboss.org/jira/browse/DNA-528
> Project: DNA
> Issue Type: Bug
> Components: Common
> Affects Versions: 0.6
> Environment: Ubuntu 9.04
> Reporter: Dan Florian
> Assignee: Dan Florian
> Fix For: 0.7
>
>
> Custom extension to mimetype mappings are not available after load. I'm calling the static load(InputStream, Map) method and passing the resultant Map into the MimeTypeUtil constructor. However none of the mappings are available to the MimeTypeUtil object.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the dna-issues
mailing list