Closed
Bug 46246
Opened 24 years ago
Closed 24 years ago
Mozilla using absolue-URI GET requests
Categories
(Core :: Networking, defect, P3)
Tracking
()
People
(Reporter: jgajnak, Assigned: gagan)
References
()
Details
From Bugzilla Helper:
User-Agent: Mozilla/4.73 [en] (X11; I; Linux 2.2.14-5.0 i586; Nav)
BuildID: Mozilla/5.0 (X11; U; Linux 2.2.14-5.0 i586; en-US; m17)
Gecko/20000721
Occationally, Mozilla seems to send incorrect GET requests. This is from my
apache access_log while trying to view my web page:
128.2.85.113 - - [24/Jul/2000:09:50:00 -0400] "GET /~jgajnak HTTP/1.1" 301 326
128.2.85.113 - - [24/Jul/2000:09:50:01 -0400] "GET /~jgajnak/ HTTP/1.1" 200 214
128.2.85.113 - - [24/Jul/2000:09:50:03 -0400] "GET /~jgajnak/title.html
HTTP/1.1" 200 715
128.2.85.113 - - [24/Jul/2000:09:50:03 -0400] "GET /~jgajnak/home.html HTTP/1.1"
200 4370
128.2.85.113 - - [24/Jul/2000:09:50:06 -0400] "GET
http://verbal.rem.cmu.edu/~jgajnak/images/cs_major.jpg HTTP/1.1" 404 322
In the case of the last line, its including the entire URL, not the server-based
locale.
Reproducible: Sometimes
Steps to Reproduce:
1. Go to some http://verbal.rem.cmu.edu/~jgajnak/
Actual Results: the picture, cs_major.jpg never is displayed. The images is
there, and is properly show in both NS 4.73 and IE 5.5.
Expected Results: It should be sending "GET /blah_blah_blah/x.jpg" instead of
"GET http://someserver.com/blah_blah_blah/x.jpg"
Comment 1•24 years ago
|
||
wfm in 072408 winnt. May be Linux problem. Leaving unconfirmed.
Comment 2•24 years ago
|
||
Please read the HTTP/1.0 and HTTP/1.1 RFC:
http://www.rfc-editor.org/rfc/rfc1945.txt
http://www.rfc-editor.org/rfc/rfc2068.txt
For both versions of HTTP this is a perfectly valid HTTP request, from section
5.1.2 of RFC 2068:
The Request-URI is a Uniform Resource Identifier (section 3.2) and
identifies the resource upon which to apply the request.
Request-URI = "*" | absoluteURI | abs_path
The three options for Request-URI are dependent on the nature of the
request. The asterisk "*" means that the request does not apply to a
particular resource, but to the server itself, and is only allowed
when the method used does not necessarily apply to a resource. One
example would be
OPTIONS * HTTP/1.1
The absoluteURI form is required when the request is being made to a
proxy. The proxy is requested to forward the request or service it
from a valid cache, and return the response. Note that the proxy MAY
forward the request on to another proxy or directly to the server
specified by the absoluteURI. In order to avoid request loops, a
proxy MUST be able to recognize all of its server names, including
any aliases, local variations, and the numeric IP address. An example
Request-Line would be:
GET http://www.w3.org/pub/WWW/TheProject.html HTTP/1.1
To allow for transition to absoluteURIs in all requests in future
versions of HTTP, all HTTP/1.1 servers MUST accept the absoluteURI
form in requests, even though HTTP/1.1 clients will only generate
them in requests to proxies.
The problem here is that mozilla is trying to request this page from a proxy,
not that it is generating invalid requests.
Changing component to Networking and updating Summary
Component: HTML Element → Networking
Summary: malformed GET requests → Mozilla using absolue-URI GET requests
Comment 3•24 years ago
|
||
wfm on linux CVS from 07/31. can you recheck this?
Comment 4•24 years ago
|
||
wfm on linux 2000080308. Of course, I can't see the HTTP transaction going on,
but i assume the problem is that he was using a proxy that let an absulute URI
slip by rather then proccess it. Leaving unconfirmed for now, requesting someone
from networking to comment/confirm/resolve.
Comment 5•24 years ago
|
||
How does the picture not displaying relate to the behaviour or proxies? I have
no idea what is going on here, but I would like to boot this off unconfirmed
Comment 6•24 years ago
|
||
jgajnak@andrew.cmu.edu - are you using a proxy and, if so, what sort?
Gerv
Reporter | ||
Comment 7•24 years ago
|
||
Yeah, I was using junkbuster...sorry I haven't had time to check a nightly
against it recently.
Comment 8•24 years ago
|
||
Assigning to Networking owner. When changing components on un-triaged bugs,
please reassign.
Assignee: clayton → gagan
QA Contact: petersen → tever
Comment 10•24 years ago
|
||
Status: UNCONFIRMED → RESOLVED
Closed: 24 years ago
Resolution: --- → DUPLICATE
Comment 12•23 years ago
|
||
Mass removing self from CC list.
Comment 13•23 years ago
|
||
Now I feel sumb because I have to add back. Sorry for the spam.
You need to log in
before you can comment on or make changes to this bug.
Description
•