Closed
Bug 214429
Opened 21 years ago
Closed 21 years ago
Saving file with filename containing # results in double file extension (.jpg.jpg, .gif.gif etc.)
Categories
(Core Graveyard :: File Handling, defect)
Tracking
(Not tracked)
RESOLVED
DUPLICATE
of bug 163254
People
(Reporter: bjorn.wiberg, Assigned: law)
References
()
Details
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.5a) Gecko/20030718 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.5a) Gecko/20030718 When saving a file whose filename contains "#", the file extension gets doubled. A JPEG image "file.jpg" gets saved as "file.jpg.jpg" and a GIF image "file.gif" gets saved as "file.gif.gif". Reproducible: Always Steps to Reproduce: 1. Enter URL for image whose filename contains #. 2. Right-click on image, chose "Save Image As...". 3. Note the suggested filename. Actual Results: The suggested filename is "Zorba#1.jpg.jpg" Expected Results: Suggested the filename "Zorba#1.jpg". Another test image can be found at: http://bwiberg.idz.net/bilder/test/Mastiff_Heaviest%231.gif This problem might be related to bug #180161 (http://bugzilla.mozilla.org/show_bug.cgi?id=180161) where filenames containing # got truncated.
Comment 1•21 years ago
|
||
dup of that bug on using a URI to get the file extension in contentAreaUtils.js (which may even be assigned to me...)
Whiteboard: DUPEME
Comment 2•21 years ago
|
||
*** This bug has been marked as a duplicate of 163254 ***
Status: UNCONFIRMED → RESOLVED
Closed: 21 years ago
Resolution: --- → DUPLICATE
Updated•8 years ago
|
Product: Core → Core Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•