Closed
Bug 218603
Opened 21 years ago
Closed 17 years ago
HTML Complete saves jpg files with .jfif extension instead of .jpg
Categories
(Core Graveyard :: File Handling, defect)
Tracking
(Not tracked)
RESOLVED
WORKSFORME
People
(Reporter: lewis, Assigned: sspitzer)
References
()
Details
User-Agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.5b) Gecko/20030905 Camino/0.7+ Build Identifier: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.5b) Gecko/20030905 Camino/0.7+ When saving a web page as HTML Complete, any jpeg files present in the page are named using the .jfif extension rather than .jpg. Reproducible: Always Steps to Reproduce: 1. Find a page containing jpg files. 2. Save the page as HTML Complete. 3. Look for jfif files in resulting image folder. Actual Results: Jpgs became renamed as .jfif Expected Results: Jpgs should have retained the correct .jpg extension. Fwiw, if you drag a jpg off a html page to the desktop, the filename extension is correct.
Reporter | ||
Comment 1•21 years ago
|
||
Also present in: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.5b) Gecko/20030907 Camino/0.7+
Comment 2•21 years ago
|
||
Hmm, sort of related to bug 163254?
JPEG JFIF, which is what people generally mean when they refer to "JPEG", is a file format created by the Independent JPEG Group (IJG) for the transport of single JPEG-compressed images. (http://www.w3.org/Graphics/JPEG/) But the problem is that on Mac there is only one grapchis app that knows how to handle files with a .jfif extention (garphics converter) except for Camino and Mozilla. So it would be only wise to make sure that JFIF JPEG images are saved with a .jpg extension instead of .jfif since the file is a standard complinet JPEG image.
Comment 4•21 years ago
|
||
This is also the case with Mozilla nightlies. Go to any image only file like in macdesktops: http://www.macdesktops.com/images/1024x768/Tazl20Illu1024x768.jpg type cmd-S to save. A save dialog box opens with the following file name: Tazl20Illu1024x768.jpg.jfif
Comment 5•21 years ago
|
||
This also happens with Moz 1.4 - 1.5rc2, when right-clicking a JPEG image and saving to hard disc. Just to clarify, the .jfif extension is appended to the file name; it does not replace the .jpg extension. So for example picture1.jpg gets saves as picture1.jpg.jfif.
I think we can set this bug to confirmed or duplicate of Bug 163254. Bug 163254 should come up with a patch eventually.
Comment 7•21 years ago
|
||
My guess is that "jfif" is coming from Internet Config. It's probably the first entry found that matches the MIME type.
Comment 8•21 years ago
|
||
Dup of bug 163254?
Comment 9•21 years ago
|
||
comments in 163254 suggest that mozilla fixed this in november, but this still shows up in camino and mozilla 1.6b -> seth
Assignee: pinkerton → sspitzer
Component: Downloading → File Handling
Product: Camino → Browser
Version: unspecified → Trunk
Comment 10•20 years ago
|
||
quick recap: this bug (saving .jpg as .jfif) still present in: camino: 2004051715 (v0.8b) mozilla: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.7) Gecko/20040514 Firefox: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.6) Gecko/20040206 Firefox/0.8 bug 163254 is APPENDING another extension: behaviour now when saving a php-file (xxx.php) as html complete: camino: saves xxx.php.html firefox: saves as xxx.php.html mozilla: saves as xxx.php (browsers version: see above) So it looks like bug 163254 is fixed (for appending .html) for mozilla only.
Comment 11•20 years ago
|
||
update: the new firefox saves jpeg's as jfif, but the xxx.php as xxx.php (instead of xxx.php.html) firefox: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.7) Gecko/20040530 Firefox/0.8.0+
Comment 12•18 years ago
|
||
No longer seeing any of these any more. Anyone still seeing them?
Comment 13•17 years ago
|
||
WORKSFORME; don't know what specific code change fixed it, but haven't seen this in ages with any Gecko browser.
Status: NEW → RESOLVED
Closed: 17 years ago
Resolution: --- → WORKSFORME
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
•