Open Bug 271571 Opened 20 years ago Updated 2 years ago

Add option to Save As.. - HTML Only to convert links to absolute links

Categories

(Firefox :: File Handling, defect)

x86
Windows XP
defect

Tracking

()

People

(Reporter: netdragon, Unassigned)

Details

Attachments

(1 file)

Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.5) Gecko/20041107 Firefox/1.0

Steps to reproduce:
1) Go to Google.com
2) Save page as HTML - only
3) Load page -- see that all links and images are relative
I saved Google.com as HTML only, and this is how it was saved. Notice the links
and images weren't converted.

We should have a checkbox in the save dialog on HTML pages that says:

[] Convert links and images to full URL
This isn't new, and as far as I can see its intended behaviour.
Severity: normal → enhancement
Summary: Save As.. - HTML Only is not converting links and images → Add option to Save As.. - HTML Only to convert links to absolute links
Severity: enhancement → normal
I can see how this behavior would be intentional for those who don't care to
also have the images visible when they save a page, but saving as web page
complete shouldn't be necessary to have the images.

A quick fix would be to throw a <base href=""> link on the page, though that
would be less robust than actually converting the links on a page, especially if
you a converting multiple pages for a testcase. It's important to note I
realized this was a problem while creating a testcase for another bug.
QA Contact: ali → file.handling
Assignee: bugs → nobody

(In reply to Mike Connor [:mconnor] from comment #2)

This isn't new, and as far as I can see its intended behaviour.

An intentional bug. Yeah, right. That's why the save box says "save without links or images". Not.

WHEN IS THIS GOING TO BE FIXED. IT IS INSANE. WHO WANTS UNWORKABLE LINKS? If I want to remove links, I can do that in Word.

Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: