Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
2.2
-
None
-
None
-
Operating System: Linux
Platform: PC
-
32560
Description
Trying to implement LocaleMatcher for forrest.
given index.xml and index.es.xml and Accept-Language: es,en;q=0.5
When the @negotiate=false works as expected the index.es.xml is displayed.
But when using @negotiate=true index.xml is displayed, which is wrong. It should
be index.es.xml.
Added sitemap and files, if you have svn forrest installed it is easier to test:
mkdir /var/tmp/fs; cd /var/tmp/fs;
forrest seed;
cd src/documentation; unzip i18ntest.zip
given index.xml and index.es.xml and Accept-Language: es,en;q=0.5
When the @negotiate=false works as expected the index.es.xml is displayed.
But when using @negotiate=true index.xml is displayed, which is wrong. It should
be index.es.xml.
Added sitemap and files, if you have svn forrest installed it is easier to test:
mkdir /var/tmp/fs; cd /var/tmp/fs;
forrest seed;
cd src/documentation; unzip i18ntest.zip