This is a combination of two 'bugs'. I'll address the first in this comment.
1. ubuntuforums.com web-server is misconfigured.
2. xulrunner correctly figuring out the mime-type from the file-extension but fails to set the variable that tells it which application to launch, therefore failing when it checks if mDefaultApplication is valid (not-null).
Web-server Content-Types response for attachments. For the following file attachments it reports the wrong mime-types. For text, the elements are reversed!:
This is a combination of two 'bugs'. I'll address the first in this comment.
1. ubuntuforums.com web-server is misconfigured.
2. xulrunner correctly figuring out the mime-type from the file-extension but fails to set the variable that tells it which application to launch, therefore failing when it checks if mDefaultApplication is valid (not-null).
Web-server Content-Types response for attachments. For the following file attachments it reports the wrong mime-types. For text, the elements are reversed!:
.txt == text/plain disposition: attachment; filename* =ISO-8859- 1''test4% 20with% 20space. txt
content-
Content-Type: plain/text
.odt == application/ vnd.oasis. opendocument. text disposition: attachment; filename* =ISO-8859- 1''test1. odt
content-
Content-Type: unknown/unknown
.ods == application/ vnd.oasis. opendocument. spreadsheet disposition: attachment; filename* =ISO-8859- 1''test2. ods
content-
Content-Type: unknown/unknown
.gz == application/x-gzip disposition: attachment; filename* =ISO-8859- 1''test4% 20with% 20space. txt.gz
content-
Content-Type: unknown/unknown
PDF is correct though:
.pdf == "application/pdf disposition: attachment; filename* =ISO-8859- 1''test5. pdf
content-
Content-Type: application/pdf