If you think a bug might affect users in the 57 release, please set the correct tracking and status flags for Release Management.

save as "webpage, complete" doesn't retain original image file names with dots

RESOLVED WORKSFORME

Status

Core Graveyard
File Handling
RESOLVED WORKSFORME
13 years ago
a year ago

People

(Reporter: Steven Shou, Unassigned)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

13 years ago
User-Agent:       Mozilla/5.0 (X11; U; Linux i686; rv:1.7.3) Gecko/20041006 Firefox/0.10.1
Build Identifier: Mozilla/5.0 (X11; U; Linux i686; rv:1.7.3) Gecko/20041006 Firefox/0.10.1

Saving any html file with image file names containing dots in the middle, will
strip every character after the first dot.

For example, of the following file "test.html":

<html><head><title>mozilla</title></head>
<body>
<img src="pic.hello.gif" /><br />
<img src="pic.some.thing.gif" /><br />
<img src="pic.1011.3533.gif" /><br />
<img src="pic.abc.343.3f3f.gif" /><br />
</body></html>

Reproducible: Always
Steps to Reproduce:
1. open any html file with image names that have dots
2. File -> Save Page As...
3. Select format: "Web Page, complete"

Actual Results:  
<img src="test_files/pic.gif"><br>
<img src="test_files/pic_002.gif"><br>
<img src="test_files/pic_003.gif"><br>
<img src="test_files/pic_004.gif"><br>

Expected Results:  
<img src="test_files/pic.some.thing.gif"><br>
<img src="test_files/pic.1011.3533.gif"><br>
<img src="test_files/pic.abc.343.3f3f.gif"><br>

Comment 1

13 years ago
WFM, Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.5) Gecko/20041107 Firefox/1.0.

Tested with an offline copy of test.html.
Worksforme as well, in a current Linux trunk build.  Marking so, but please
reopen if this is a problem in a recent build...
Status: UNCONFIRMED → RESOLVED
Last Resolved: 13 years ago
Resolution: --- → WORKSFORME
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.