Closed Bug 127566 Opened 23 years ago Closed 23 years ago

Composer adds <base href="file:///......"> to html source

Categories

(SeaMonkey :: Composer, defect)

All
Linux
defect
Not set
minor

Tracking

(Not tracked)

VERIFIED DUPLICATE of bug 125070

People

(Reporter: davidgrant, Unassigned)

Details

From Bugzilla Helper: User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.8+) Gecko/20020224 BuildID: 2002022406 When I insert an image in index.html, located at say /home/david/html/, mozilla composer puts a <base href="file:///home/david/html/index.html"> tag in the HTML source. I really wish it wouldn't do this. I don't really see why it has to. This used to cause problems in the filename generated when the "URL is relative to page location" check-box, but that seems to have been fixed in a recent build. I'd still like to know the reason for adding the <base href=> tag in the source. Is this absolutely necessary? Reproducible: Always Steps to Reproduce: 1. Insert an image 2. Save the file OR 1. Delete the <base href= > line 2. Save the file Actual Results: A <base href= > tag will have appeared in the source Expected Results: Not add a <base href= > tag
Sorry, I forgot to mention in my bug report the reason why this base href= thing should never be used. I never want any file:/// references in my HTML code. This can only cause problems later when someone tries clicking on my webpage, and one of the links has file:/// in it, instead of a relative link.
Duplicate of "nsWebBrowserPersist adds base tag" *** This bug has been marked as a duplicate of 125070 ***
Status: UNCONFIRMED → RESOLVED
Closed: 23 years ago
Resolution: --- → DUPLICATE
verified.
Status: RESOLVED → VERIFIED
reassign in case bugs are reopened
Assignee: syd → composer
Product: Browser → Seamonkey
You need to log in before you can comment on or make changes to this bug.