Closed
Bug 478562
Opened 17 years ago
Closed 12 years ago
Trailing spaces added to filename of downloaded file leading to failure opening in external app
Categories
(Firefox :: File Handling, defect)
Tracking
()
RESOLVED
WORKSFORME
People
(Reporter: fhimpe, Unassigned)
References
()
Details
User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.0.6) Gecko/2009020311 Mandriva/1.9.0.6-1mdv2009.1 (2009.1) Firefox/3.0.6
Build Identifier: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.0.6) Gecko/2009020311 Mandriva/1.9.0.6-1mdv2009.1 (2009.1) Firefox/3.0.6
When downloading PDF files from https://www.fortisbanking.com, Firefox adds trailing spaces to the filename which is used for the saved file in the tmp directory. Then Firefox does not add these trailing spaces to the file name passed to the external application chosen to open the downloaded file with, leading to a failure to open the requested file.
Reproducible: Always
Steps to Reproduce:
1. Type http://www2.fortisbank.com/showfile.asp?table=prodfich&file=FBFI2007_Equity%2035%20Alternative%20Energy_2083_NLD.pdf in the URL bar and press enter
2. Choose to open the file in Document Viewer (default) (this is Evince)
Actual Results:
Evince starts up and displays an error:
Unable to open document
Error opening file: No such file or directory
Expected Results:
Evince should open the downloaded PDF which is saved in the temp directory
In my tmp directory, I find this:
[frederik@Anastacia tmp]$ ls FBFI2007_EQUITY\ 35\ ALTERNATIVE\ ENERGY_2083_NLD.PDF\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \
FBFI2007_EQUITY 35 ALTERNATIVE ENERGY_2083_NLD.PDF
[frederik@Anastacia tmp]$
Notice the trailing spaces after the file name. Firefox did not add these trailing spaces in the file:/// URI passed to Evince, hence the failure.
http://bugzilla.gnome.org/show_bug.cgi?id=571351
Comment 1•15 years ago
|
||
This bug was reported using Firefox 3.0 or older, which is no longer supported. The bug has also not been changed in over 500 days and is still in UNCO.
Reporter, please retest this bug in Firefox 3.6.10 or later using a fresh profile, http://support.mozilla.com/en-US/kb/managing+profiles. If you still see this problem, please update the bug. If you no longer see the bug, please set the resolution to RESOLVED, WORKSFORME.
This is a mass search of unconfirmed bugs that have no activity on them, so if you feel a bug was marked in error, just remove the CLOSEME comment in the whiteboard within the next month.
Whiteboard: [CLOSEME 2010-11-15]
Updated•15 years ago
|
Version: unspecified → 3.6 Branch
Comment 3•12 years ago
|
||
WFM with latest Nightly, build ID: 20130825030201.
Please reopen this bug if you can still reproduce the issue.
Status: UNCONFIRMED → RESOLVED
Closed: 12 years ago
Resolution: --- → WORKSFORME
You need to log in
before you can comment on or make changes to this bug.
Description
•