IE 6 on Win2K generates non RFC Host: header on redirect
- From: "Mark Pizzolato" <MarkPizzolato@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Tue, 4 Oct 2005 11:18:04 -0700
On Win2K systems IE Version 6.0.2800.1106 with all Windows Update patches
applied generates a non RFC2616 (Http 1.1) compliant host header when
following a redirect. Specifically if the redirect is to an address
specifying a port number, the Host header does not include the required port
number.
Example HTTP Session trace extrated from network sniffing:
Original connection to servicename.replaceddomain.org on port 80 generating
a redirect:
REQUEST:
GET / HTTP/1.1
Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg,
application/vnd.ms-excel, application/vnd.ms-powerpoint, application/msword,
application/x-shockwave-flash, */*
Accept-Language: en-us
Accept-Encoding: gzip, deflate
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0; T312461;
Q312461; .NET CLR 1.0.3705; .NET CLR 1.1.4322; InfoPath.1)
Host: servicename.replaceddomain.org
Connection: Keep-Alive
RESPONSE:
HTTP/1.1 302 Found
Date: Tue, 04 Oct 2005 17:27:42 GMT
Server: Apache/1.3.33 (Darwin) mod_jk/1.2.6 DAV/1.0.3 mod_ssl/2.8.22
OpenSSL/0.9.7g
Location: http://servicename.replaceddomain.org:8080/
Connection: close
Transfer-Encoding: chunked
Content-Type: text/html; charset=iso-8859-1
139
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<HTML><HEAD>
<TITLE>302 Found</TITLE>
</HEAD><BODY>
<H1>Found</H1>
The document has moved <A
HREF="http://servicename.replaceddomain.org:8080/">here</A>.<P>
<HR>
<ADDRESS>Apache/1.3.33 Server at servicename.replaceddomain.org Port
16080</ADDRESS>
</BODY></HTML>
0
Redirected connection to servicename.replaceddomain.org on port 8080
generating a redirect:
REQUEST:
GET / HTTP/1.1
Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg,
application/vnd.ms-excel, application/vnd.ms-powerpoint, application/msword,
application/x-shockwave-flash, */*
Accept-Language: en-us
Accept-Encoding: gzip, deflate
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0; T312461;
Q312461; .NET CLR 1.0.3705; .NET CLR 1.1.4322; InfoPath.1)
Host: servicename.replaceddomain.org
Connection: Keep-Alive
RESPONSE:
HTTP/1.0 302 Found
Location: http://servicename.replaceddomain.org/public/
Content-type: text/html
<HEAD><TITLE>Document moved</TITLE></HEAD>
<BODY><H1>Document moved</H1>
The document has moved <A
HREF="http://servicename.replaceddomain.org/public/">here</A>.</P></BODY>
The second response contains garbage which is a consequence of the garbage
in (GIGO).
The source of the garbage input is IE on the Win2K platform not correctly
generating the Host: HTTP header.
The latest version of IE on other platforms (i.e. WinXP running IE Version:
6.0.2900.2180.xpsp_sp2_gdr.050301-1519) correctly follows Redirects and
generates an RFC2616 compliant Host: header containing the port number when
appropriate.
Does anyone know when this bug will be fixed for IE6 on Win2K?
Thanks.
- Mark Pizzolato
.
- Prev by Date: Re: Tabbed browsing in IE6 really sucks
- Next by Date: printer won't print in ie6
- Previous by thread: Re: Tabbed browsing in IE6 really sucks
- Next by thread: printer won't print in ie6
- Index(es):
Relevant Pages
|
Loading