Closed Bug 161651 Opened 22 years ago Closed 22 years ago

BASE tag is not changed after Save As Complete Web Page

Categories

(Core Graveyard :: File Handling, defect)

x86
Windows XP
defect
Not set
minor

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: mni, Assigned: law)

References

()

Details

From Bugzilla Helper: User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; pl-PL; rv:1.1b) Gecko/20020721 BuildID: 2002072104 When I saved some pages to local disk with Save As Complete Web Pages and later tried to view them, I noticed that Mozilla is downloading all images from the net, but it should that them from the local files. I discovered that this was due to the BASE tag in main html file not to be changed - it was redirecting mozilla to website, not to local directory. It was: <base href="http://us.imdb.com/Title?0145487"> but it should be: <base href="Title"> Reproducible: Always Steps to Reproduce: 1. Go to http://us.imdb.com/Title?0145487 2. Save the page to disk as Complete Web Page 3. Switch mozilla to offline mode (to prevent downloading images from website) 4. view saved file (Title.html) Actual Results: There will be no images on page. But in "Title" subdirectory you will find all images from this pages. To correct this, in saved file "Title.html" the line: <base href="http://us.imdb.com/Title?0145487"> should be removed or changed to <base href="Title"> So it is easy to manualy fix it, that's why it's minor problem.
*** This bug has been marked as a duplicate of 125085 ***
Status: UNCONFIRMED → RESOLVED
Closed: 22 years ago
Resolution: --- → DUPLICATE
I disagree. The 125085 bug is not a bug - it's resolution is INVALID. Rather this is new bug in 'Save As Complete Web Page' which is related to bug 125085. In other words: 'Save As Complete Web Page' is one of the basic functinality in Mozilla, and it is sometimes being broken (due to problem with BASE tag). It is quite clear: saved pages is not being loaded as it was promised - the images are downloading from server, not from local files. This is bug, this is not what users are expecting. MS Internet Explorer does it in right way - it removes base tag. I suppose that BASE tag should be changed, but only when the 'Save As Complete Web Page' function is used. When the user is saving only html, it should remain unchanged.
Status: RESOLVED → UNCONFIRMED
Resolution: DUPLICATE → ---
QA Contact: sairuh → petersen
we now comment out <base> elements. Fixed by landing for bug 179990
Status: UNCONFIRMED → RESOLVED
Closed: 22 years ago22 years ago
Resolution: --- → FIXED
Verified with the 2003-01-25-08 NB under Windows XP.
Status: RESOLVED → VERIFIED
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.