Closed Bug 558283 Opened 15 years ago Closed 14 years ago

PDF files won't open properly if url doesn't contain .pdf extension

Categories

(Firefox :: General, defect)

x86
macOS
defect
Not set
major

Tracking

()

RESOLVED INCOMPLETE

People

(Reporter: cni, Unassigned)

References

()

Details

(Whiteboard: [CLOSEME 2011-2-25])

User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.2.3) Gecko/20100401 Firefox/3.6.3 Build Identifier: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.2.3) Gecko/20100401 Firefox/3.6.3 When a simplified url is used to open a pdf document, firefox doesn't add extension to the file, and so doesn't open it with Preview or other PDF reader. Firefox saves the file without extension. In the url above, it will generate a file named "bugzilla". If we add a slash at the end (http://eagleweb.be/bugzilla/), the name will look like "Fb6LCL7P.pdf(2).part". When you open the file, a warning message appears : "... is a Unix application downloaded from the internet..." Only Firefox on Mac has this behavior. Other browsers are fine. I experienced the same problem with other files that uses the same technique (apache url rewriting). Reproducible: Always Steps to Reproduce: 1.Open the url http://eagleweb.be/bugzilla Actual Results: Downloads the file, but without a proper extension, and so can't open it. Expected Results: Downloads the file, with the proper extension, and opens it as a pdf file. Code used for redirection: RewriteRule ^bugzilla/?$ firefox-3-6-reviewers-guide.pdf
Reporter, are you still seeing this issue with Firefox 3.6.13 or later in safe mode or a fresh profile? If not, please close. These links can help you in your testing. http://support.mozilla.com/kb/Safe+Mode http://support.mozilla.com/kb/Managing+profiles
Whiteboard: [CLOSEME 2011-2-25]
This bug has had the CLOSEME tag for several weeks and the date in the tag is far gone. If the reporter can still see this issue, Please retest with Firefox 3.6.x or later and a new profile (http://support.mozilla.com/kb/Managing+profiles). Then please remove the closeme tag in the whiteboard, mark the bug against the proper version and comment on the bug.
Status: UNCONFIRMED → RESOLVED
Closed: 14 years ago
Resolution: --- → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.