Commit 091c2b5f5523773604699b914c19e6b02ce290bc introduced lower casing to the language drop-down list. Revert this and use htmlspecialchars() to escape language entries instead. Addresses FS#32453. Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de> --- web/template/header.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/web/template/header.php b/web/template/header.php index a60174b..92cb2ff 100644 --- a/web/template/header.php +++ b/web/template/header.php @@ -37,9 +37,9 @@ reset($SUPPORTED_LANGS); foreach ($SUPPORTED_LANGS as $lang => $lang_name) { - print '<option value="' . strtolower($lang) . '"' . + print '<option value="' . htmlspecialchars($lang, ENT_QUOTES) . '"' . ($lang == $LANG ? ' selected="selected"' : '') . - '>' . strtolower($lang) . "</option>\n"; + '>' . htmlspecialchars($lang) . "</option>\n"; } ?> </select> -- 1.8.0