www-apache-bugdb mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christopher Maden <cr...@lexica.net>
Subject general/7043: Incorrect analysis of Accept-Language headers
Date Mon, 08 Jan 2001 21:41:50 GMT

>Number:         7043
>Category:       general
>Synopsis:       Incorrect analysis of Accept-Language headers
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    apache
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   apache
>Arrival-Date:   Mon Jan 08 14:10:03 PST 2001
>Closed-Date:
>Last-Modified:
>Originator:     crism@lexica.net
>Release:        1.3.14
>Organization:
apache
>Environment:
NT 4.0 SP 6
>Description:
I use IE 5.5.  I have the language preferences set for en-us, fr, eo.  When I installed Apache
and went to http://localhost/, I received the default start page in French.  Per RFC 1766
and successors, the language identifier should be tokenized at the hyphen, and matched by
whole tokens; e.g., a page in English (en) should match a request for US English (en-us).
>How-To-Repeat:
Set language preferences to en-us, fr.  Go to any site with multiple language pages, such
as a new installation with the default pages.
>Fix:
Correct the language comparison code.
>Release-Note:
>Audit-Trail:
>Unformatted:
 [In order for any reply to be added to the PR database, you need]
 [to include <apbugs@Apache.Org> in the Cc line and make sure the]
 [subject line starts with the report component and number, with ]
 [or without any 'Re:' prefixes (such as "general/1098:" or      ]
 ["Re: general/1098:").  If the subject doesn't match this       ]
 [pattern, your message will be misfiled and ignored.  The       ]
 ["apbugs" address is not added to the Cc line of messages from  ]
 [the database automatically because of the potential for mail   ]
 [loops.  If you do not include this Cc, your reply may be ig-   ]
 [nored unless you are responding to an explicit request from a  ]
 [developer.  Reply only with text; DO NOT SEND ATTACHMENTS!     ]
 
 


Mime
View raw message