Closed
Bug 57143
Opened 25 years ago
Closed 13 years ago
trying to open specific urls will cause mozilla to send an invalid Host: header
Categories
(Core :: Networking, defect)
Tracking
()
RESOLVED
WORKSFORME
People
(Reporter: blizzard, Unassigned)
References
()
Details
If you try to load a url like the one listed above mozilla will send it with the
Host: header which isn't valid.
Comment 1•25 years ago
|
||
What version of mozilla are you testing? With a CVS snapshot from 2pm PST on
10/25/2000, mozilla is sending:
Host: www.redhat.com\
This seems correct to me. The page doesn't load, instead I get a Bad Request
error, which also seems correct.
Reporter | ||
Comment 2•25 years ago
|
||
That \ shouldn't be part of the Host: header - it's invalid as a name.
Comment 3•25 years ago
|
||
I follow you now... there's got to be something screwy with the way we are
pulling out the hostname. It appears that we are connecting to www.redhat.com,
but then we are not sending that hostname in the Host header. This is
inconsistent and needs to be fixed. 4.X pops up an error dialog on this URL,
complaining that it is unable to locate the server www.redhat.com%5c. I don't
know if we have to be so strict. We could just ignore the %5c. Is this problem
at all commonplace? Do you hit this bug often? What do you think the correct
behavior should be?
->darin
I don't think this is a common/frequent enough problem. Marking for future.
blizzard if you feel otherwise pls. pull this in for 1.0.
Assignee: gagan → darin
Target Milestone: --- → Future
+makingtest - this probably goes into my DNS test cases.
Keywords: makingtest
Another example of why we should be using a mask to get rid of all illegal
characters in DNS hostnames (bug 140379)
Comment 8•19 years ago
|
||
-> default owner
Assignee: darin → nobody
QA Contact: benc → networking
Target Milestone: Future → ---
Updated•19 years ago
|
Priority: P3 → --
Comment 9•19 years ago
|
||
I am having this problem in both Firefox amd Mozilla. Windows 2000 operating system. This problem occurs when I log on to a proxy server and try to loop back to my IP address to check my server software.
Comment 10•13 years ago
|
||
Seamonkey trunk displays :
"www.redhat.com%5c could not be found. Please check the name and try again."
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → WORKSFORME
You need to log in
before you can comment on or make changes to this bug.
Description
•