Closed Bug 428908 Opened 17 years ago Closed 15 years ago

Wrong management of file downloaded name

Categories

(Toolkit :: Downloads API, defect)

x86
Windows XP
defect
Not set
minor

Tracking

()

VERIFIED DUPLICATE of bug 301328

People

(Reporter: gianluca.negrelli, Unassigned)

Details

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.13) Gecko/20080311 Firefox/2.0.0.13 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.13) Gecko/20080311 Firefox/2.0.0.13 When I download a file from web for more than one time, since Firefox find it on cache, the original name of file is renamed in this way: DownFile.doc -> DownFile-1.doc IE renames the file in this way: DownFile.doc -> DownFile[1].doc But if my file has a double extension the renaming rules are different between the two browser. Firefox: DownFile.doc.p7m -> DownFile.doc-1.p7m IE: DownFile.doc.p7m -> DownFile[1].doc.p7m .p7m is a real extension for digitally signed file (very common file in Europe). The PKCS#7 signing standard doesn't expect that the real file name is stored in some field. When a program try to validate the sign on this kind of file has no problem, but if a program try to open the contained file (p7m is a sort of envelop) Windows can't do that because Firefox has damaged the original extension (DownFile.doc-1) while IE manteins it (DownFile[1].doc) Reproducible: Always Steps to Reproduce: 1. Download a file with double extensions 2. Download it again Actual Results: First download DownFile.doc.p7m -> DownFile.doc.p7m Second download DownFile.doc.p7m -> DownFile.doc-1.p7m Expected Results: First download DownFile.doc.p7m -> DownFile.doc.p7m Second download DownFile.doc.p7m -> DownFile-1.doc.p7m
Product: Firefox → Toolkit
Also having the same issues, Firefox 2.0.0.13
Also reproducible in Firefox 3.6a1pre
Flags: wanted1.9.2?
Status: UNCONFIRMED → RESOLVED
Closed: 15 years ago
Resolution: --- → DUPLICATE
Verified duplicate.
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.