Closed
Bug 118895
Opened 24 years ago
Closed 24 years ago
<base> tag does not properly work when href contains a trailing '.'
Categories
(Core :: Networking: HTTP, defect, P3)
Tracking
()
VERIFIED
WORKSFORME
mozilla1.0
People
(Reporter: daisuke, Assigned: badami)
Details
Attachments
(1 file)
12.10 KB,
application/octet-stream
|
Details |
From Bugzilla Helper:
User-Agent: Mozilla/4.0 (compatible; MSIE 5.01; Windows NT 5.0)
BuildID: 010803
<base href="http://foobar.com"> works as expected....
Any relative in that document has "http://foobar.com/" appended.
However, when you do something like:
<base href="http://foobar.com/~baz/."> ( which *does* work in all
other browsers that I've used ), the relative link all of the sudden
loses the '/' in between the base url and the relative path, like so:
<a href="phat.hml"> becomes "http://foobar.com/~bazphat.html",
instead of "http://foobar.com/~baz/phat.html"
Reproducible: Always
Steps to Reproduce:
1. create a html with a <base> tag in this format: <base
href="http://server/somepath/.">
2. create a link in that html
3. look at the url that mozilla produces when you view the page.
Updated•24 years ago
|
Component: Browser-General → Networking: HTTP
Comment 2•24 years ago
|
||
sounds like a problem with our URL resolution code.
-> moz 1.0 maybe
Status: UNCONFIRMED → ASSIGNED
Ever confirmed: true
Priority: -- → P3
Target Milestone: --- → mozilla1.0
Comment 3•24 years ago
|
||
-> badami
enabling NSPR_LOG_MODULES=nsStandardURL:5 might help you track down this bug.
Assignee: darin → badami
Status: ASSIGNED → NEW
Comment 4•24 years ago
|
||
I have attached the test case using base href tag having an additional path.
Using this test case I am not able to reproduce the bug.
Reporter, Can you please ensure that I have the same test case as you have
tested against. Can you please upload the appropriate test case, if the
attached test case is not a valid against the given bug.
hmmm, I sure can't reproduce it now.
I suppose it has since been fixed somehow.
Comment 6•24 years ago
|
||
Not able to reproduce the bug. Even the reporter is not able to reproduce the
bug now. Hence marking the bug as works for me.
Status: NEW → RESOLVED
Closed: 24 years ago
Resolution: --- → WORKSFORME
You need to log in
before you can comment on or make changes to this bug.
Description
•