[ https://issues.apache.org/jira/browse/SLING-2862?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ondrej Florian updated SLING-2862: ---------------------------------- Attachment: taglib13.tld.patch > Firefox browser send text file mime type as plain/text instead of text/plain > ---------------------------------------------------------------------------- > > Key: SLING-2862 > URL: https://issues.apache.org/jira/browse/SLING-2862 > Project: Sling > Issue Type: Bug > Components: Servlets > Reporter: Ondrej Florian > Priority: Minor > Labels: patch > Attachments: SlingFileUploadHandler.java.patch > > > When uploading a text file, Firebug browser sets mime type to plain/text > instead of text/plain. > This cases a text files not be handled correctly (e.g. during indexing). > Although this is problem of a browser rather then Sling itself, it should be > handled 'somehow'. > I added quick hack to change the mime mapping in upload servlet itself, > however proper solution would be to just ignore the mime type send by a > browser and try to guess it from the data itself. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira