IE 6 on Win2K generates non RFC Host: header on redirect



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
.



Relevant Pages

  • Re: remote printing
    ... event log at the host end for messages about a missing driver. ... If you don't see such messages, then the port isn't being redirected, and I ... would try the registry change in the article about DOT4 printers. ... >>In my experience USBxxx redirect just fine. ...
    (microsoft.public.windowsxp.work_remotely)
  • Re: POE and Port Redirection
    ... > The client will create many session on the same port on the Server. ... > redirect, but I am at a loss from where to from here. ... sub forwarder_create { ...
    (comp.lang.perl.misc)
  • Virtual host "lite"?
    ... redirect an incoming we request based on DNS name, ... "http://webmail.domain.com " will automatically be redirected to port ... fall over and the Boss works out what a "server" is.. ...
    (comp.os.linux.networking)
  • Re: port redirect not accepted?
    ... I'm using an ubuntu box with IPTables 1.3.3, ... I want to route all incoming connections to port 6603 to be redirected to port 3306; ... I made a redirect for this which does just that, but now it still doesn't accept it, because my default input rule is to DROP. ... My box hangs on the net and has two interfaces, eth0 and 1. ...
    (comp.os.linux.networking)
  • Re: Mutliple IPs on a 515
    ... I need to convert all inside ip addresses on port 1433 going to the ... When you redirect a group of IPs, ... "inside host tries to access public IP X and the PIX should ... For PIX 6, address translation only happens when packets pass -through- ...
    (comp.dcom.sys.cisco)

Loading