summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--web/template/header.php4
1 files 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>