Closed
Bug 14913
Opened 25 years ago
Closed 25 years ago
the ? on a CGI with no arguments gets stripped
Categories
(Core :: DOM: HTML Parser, defect, P3)
Tracking
()
VERIFIED
FIXED
M11
People
(Reporter: jer, Assigned: gagan)
References
()
Details
Steps to reproduce:
Using build id #1999092408 and/or M9 on Win 98, try going to above URL.
Results:
The question mark at the end of the URL is stripped, resulting in an error 404.
Expected:
Successful load of url, returning html + images to client.
Builds tested:
viewer & apprunner on both 1999092408 and M9.
Thoughts:
Any chance that this is partly due to the cgi not ending with .cgi ? This isn't
related to bug 14333, which looks fixed.
Reporter | ||
Updated•25 years ago
|
Reporter | ||
Comment 1•25 years ago
|
||
adding http:// to url.
Comment 2•25 years ago
|
||
This is an urlparser problem, should be assiged to gagan
The problem is: the ? is found, but is not part of the url as it is stored in
nsStdURL. The ? gets integrated into the url if there is a querypart beside the
?. Since here is none, the ? gets stripped in ReconstructPath.
A solution would be to have all the delimiter chars like ;?# inside the URL
components. This would also reduce the appends in ReconstructSpec/Path. See
http://bugzilla.mozilla.org/show_bug.cgi?id=11677
Comment 3•25 years ago
|
||
cc'ing gagan
just for the fun I did another heavy rewrite of nsStdURL.cpp. It works now for
me, but I have to test this further.
Gagan -- the URL parsing stuff is yours, right? Please send this back to me
if I've misassigned it.
Status: ASSIGNED → RESOLVED
Closed: 25 years ago
Resolution: --- → FIXED
Target Milestone: M11
You need to log in
before you can comment on or make changes to this bug.
Description
•