Closed
Bug 1461
Opened 26 years ago
Closed 26 years ago
URL: need to use correct base w/ relative URLS
Categories
(Core :: Networking, defect, P1)
Tracking
()
VERIFIED
FIXED
M4
People
(Reporter: pnunn, Assigned: nisheeth_mozilla)
References
()
Details
(Keywords: testcase)
Troy:
I'm not sure who should get this, but I know you will know.
The parsing for the url is not handling the default index.html
file properly if the slash after the last directory is omitted.
I have a simple html index page, with only an <img> tag on it.
It displays properly if the URL ends with a slash, but displays
a broken image if the slash is omitted.
ok: http://www.best.com/~pnunn/
not ok: http://www.best.com/~pnunn
In 4.0x&Gromit versions, the url is completed with an additional '/'
so that it does the correct thing.
In xpviewer, the image url is misunderstood to be
http://www.best.com/pn_port1.jpg rather than
http://www.best.com/~pnunn/pn_port1.jpg.
In debugging, if you break as soon as an
image is requested will show a content-type of text/html since the
data stream is actually a 404 html.
Pam, it works fine for me. I'm using the NGLayout "viewer". Are you using the
viewer or the xpfe?
I'm looking at xpviewer.exe.
I've tried the bits released by sar, as well as my debug build.
If it doesn't break the first time around, go to another url and
then back. Once I do that, I can see the image or an error icon just
by adding or deleting a slash on the url.
If you still have trouble, I'll drop by.
Yeah, I saw it happen when I went to a different page and then went Back
I guess the problem is in URLImpl which is called by NS_MakeAbsoluteURL.
If there's no trailing '/' then the final is resolved as
http://www.best.com/pn_port1.jpg instead of ...best.com/~pnunn/pn_port1.jpg
Taking off ss: list per bug mtg today. Will Release Note. Dup of 1356?
Re-assigned to gagan@netscape.com.
Gagan, is this a netlib bug? Who should get this?
Comment 10•26 years ago
|
||
Setting all current Open/Normal to M4.
Comment 11•26 years ago
|
||
setting paulmac as QA contact for all gagan's bugs (sorry for the spam)
Comment 12•26 years ago
|
||
Nisheeth can you confirm that this is fixed with your webshell fixes? If not
give it back to me. Thanks!
Assignee | ||
Updated•26 years ago
|
Status: NEW → RESOLVED
Closed: 26 years ago → 26 years ago
Resolution: --- → FIXED
Assignee | ||
Comment 13•26 years ago
|
||
Yes, this is fixed. Pam's page appears fine.
Updated•26 years ago
|
Status: RESOLVED → VERIFIED
Comment 14•26 years ago
|
||
Looks good to me also. Marking verified.
Component: Layout → Networking
Keywords: testcase
Summary: JPG Image Doesn't display → URL: need to use correct base w/ relative URLS
You need to log in
before you can comment on or make changes to this bug.
Description
•