[#9042] Wrong parsing of HTTP_ACCEPT_LANGUAGE
History
Updated: 2015-09-06 12:56
state: Open => Closed
Updated: 2015-03-28 18:28
resolution_id: 5 => 7
cmsms_version_id: 29828 => -1
Updated: 2013-03-12 05:03
description: The parsing of HTTP_ACCEPT_LANGUAGE in get_browser_languages fails in IE.
IE sends something like: cs-CZ
which the regexp fails to parse right
(FIrefox sends it with _ ( cs_CZ ) so it goes ok)
fixed by removing - from regexp
preg_match_all('/([ => The parsing of HTTP_ACCEPT_LANGUAGE in get_browser_languages fails in IE.
IE sends something like: cs-CZ
which the regexp fails to parse right
(FIrefox sends it with _ ( cs_CZ ) so it goes ok)
fixed for now by adding alias to /lib/nls/cs_CZ.nls.ph
Updated: 2013-03-12 04:43
resolution_id: => 5