Closed Bug 126665 Opened 23 years ago Closed 23 years ago

Save corrupt file

Categories

(Core Graveyard :: File Handling, defect)

x86
Windows NT
defect
Not set
normal

Tracking

(Not tracked)

VERIFIED DUPLICATE of bug 120313

People

(Reporter: cote, Assigned: law)

References

()

Details

Attachments

(2 files)

From Bugzilla Helper: User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:0.9.8) Gecko/20020204 BuildID: 2002010406 I upload a file to my webserver, go see it by http, and save it back, the layout is lost. Reproducible: Always Steps to Reproduce: 1. Go to the url http://www.tzone.org/~gcote/gcote_cv.html 2. Save the file on your local disk 3. Open the file you just save in your browser Actual Results: A file with no formatting Expected Results: Save as should give me the same file byte to byte, as the one I upload on the server I'll attach the two file to the bug after it's created.
Attached file before
The page I upload on my server
Attached file after
The file I save with saveas
Which file type did you select to save as in the filepicker? It looks like you chose text/plain....
I didn't care and choose the default. After looking back, the dialog open with Text File selected by default. If I choose back the web page only, it save the file correctly. Is it normal that html file are save as txt by default? Is it normal the name of the file on the disk is .html, should it be .txt?
The default is whatever you chose the last time you used the dialog. So if you saved a page as text at some point it would stay that way until you undid it.... The fact that the extension is wrong is bug 120313, of which I'm marking this a duplicate. *** This bug has been marked as a duplicate of 120313 ***
Status: UNCONFIRMED → RESOLVED
Closed: 23 years ago
Resolution: --- → DUPLICATE
marking verified as a duplicate. if you decide to reopen this bug, please clarify why. search string for bugspam removal: SalviaGuaranitica
Status: RESOLVED → VERIFIED
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: