httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 12375] New: - Accept-Language having different effects between Mozilla and IE
Date Fri, 06 Sep 2002 19:02:38 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=12375>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=12375

Accept-Language having different effects between Mozilla and IE

           Summary: Accept-Language having different effects between Mozilla
                    and IE
           Product: Apache httpd-1.3
           Version: 1.3.26
          Platform: Other
               URL: http://networkhost:8080/
        OS/Version: Other
            Status: UNCONFIRMED
          Severity: Normal
          Priority: Other
         Component: core
        AssignedTo: bugs@httpd.apache.org
        ReportedBy: zacjacobson@hotmail.com


I just installed Apache 1.3.26 on a RedHat7.3 box, and everything seems to work,
but when I hit the host with a browser, with IE I get the English page, and with
Mozilla I get French. I sent requests to a little server on my local machine to
see what they were sending, and here are the headers:

IE:
Accept-Language: en-ca,en-gb;q=0.8,en-us;q=0.5,fr-ca;q=0.3

Mozilla:
Accept-Language: en-ca, en-gb;q=0.75, en-us;q=0.50, fr-ca;q=0.25

Could it be the whitespace in the Mozilla Accept-Language line messing up
Apache? I don't think it should be... Why would Apache take the last entry?


Full headers:
IE (returns english page):
GET / HTTP/1.1
Accept: */*
Accept-Language: en-ca,en-gb;q=0.8,en-us;q=0.5,fr-ca;q=0.3
Accept-Encoding: gzip, deflate
User-Agent: Mozilla/4.0 (compatible; MSIE 5.5; Windows NT 5.0; T312461; .NET CLR
1.0.3705)
Host: localhost
Connection: Keep-Alive

Mozilla (returns french page):
GET / HTTP/1.1
Host: localhost
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.1) Gecko/20020826
Accept:
text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,video/x-mng,image/png,image/jpeg,image/gif;q=0.2,text/css,*/*;q=0.1
Accept-Language: en-ca, en-gb;q=0.75, en-us;q=0.50, fr-ca;q=0.25
Accept-Encoding: gzip, deflate, compress;q=0.9
Accept-Charset: ISO-8859-1, utf-8;q=0.66, *;q=0.66
Keep-Alive: 300
Connection: keep-alive

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


Mime
View raw message