summaryrefslogtreecommitdiffstats
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 4939b574..0f0e362f 100644
--- a/web/template/header.php
+++ b/web/template/header.php
@@ -51,8 +51,8 @@
reset($SUPPORTED_LANGS);
foreach ($SUPPORTED_LANGS as $lang => $lang_name) {
print '<a href="'
- . $_SERVER["PHP_SELF"]."?setlang=$lang\""
- . " title=\"$lang_name\">"
+ . htmlspecialchars($_SERVER["PHP_SELF"], ENT_QUOTES)
+ ."?setlang=$lang\" title=\"$lang_name\">"
. strtolower($lang) . "</a>\n";
}
?>