Bug 21251 - Language negotiation with country subtags
Summary: Language negotiation with country subtags
Status: CLOSED INVALID
Alias: None
Product: Apache httpd-2
Classification: Unclassified
Component: mod_negotiation (show other bugs)
Version: 2.0.40
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: ---
Assignee: Apache HTTPD Bugs Mailing List
URL:
Keywords: FAQ
Depends on:
Blocks:
 
Reported: 2003-07-01 23:21 UTC by Christof Rothen
Modified: 2004-11-16 19:05 UTC (History)
0 users



Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Christof Rothen 2003-07-01 23:21:42 UTC
It seems that there is a bug in the negotiation module for language negotiation.

The language negotiation only works if there are no subtag specified by the 
browser. As soon as a country codes is add as subtag the language can no longer 
be negotiated.

If the browser is asking for de-ch,en-us;q=0.5 and the server contains a de and 
en version of the document, the de should be hand out. But in such a situation 
the document is negotiated from the LanguagePriority setting of the server.

Regards, Chris
Comment 1 André Malo 2003-07-01 23:42:36 UTC
*sigh* I'm wondering, why this is so popular at the moment.

However, the behaviour is correct, since the standard defines it that way.

Thanks for using Apache.