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 51402] New: "ForceLanguagePriority Fallback" not working as implied in the documentation
Date Tue, 21 Jun 2011 11:33:40 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=51402

             Bug #: 51402
           Summary: "ForceLanguagePriority Fallback" not working as
                    implied in the documentation
           Product: Apache httpd-2
           Version: 2.2.17
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: mod_negotiation
        AssignedTo: bugs@httpd.apache.org
        ReportedBy: jlanik@redhat.com
    Classification: Unclassified


Suppose we have files hello.html.en, hello.html.de and hello.html.fr

The MultiViews option is enabled and the language priority is set as follows:
LanguagePriority en de fr es

Furthermore we have 
ForceLanguagePriority Fallback

Now let start the server and send a request for hello.html with 
Accept-Language: sp; q=0.8, en; q=0.2, de; q=0.2, fr; q=0.2

As ForceLanguagePriority Prefer is not set, we should (according to
http://httpd.apache.org/docs/2.2/mod/mod_negotiation.html )
we should get a http status 300 (MULTIPLE CHOICES).

But when I run it actually I got hello.html.fr (!). So not only it does not
conform to the documentation which implies that an error should be returned,
but also intuitively the result is wrong as the logical choice would be english
(as it is when Prefer specified).

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

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


Mime
View raw message