Skip to content
Snippets Groups Projects
Commit d6fbe9a9 authored by Olav Morken's avatar Olav Morken
Browse files

Add html entities to language link in header.

git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@102 44740490-163a-0410-bde0-09ae8108e29a
parent 87c9ec0e
No related branches found
No related tags found
No related merge requests found
......@@ -64,7 +64,7 @@ foreach ($languages AS $lang => $current) {
if ($current) {
echo $langnames[$lang] . ' | ';
} else {
echo '<a href="' . SimpleSAML_Utilities::addURLparameter(SimpleSAML_Utilities::selfURL(), 'language=' . $lang) . '">' .
echo '<a href="' . htmlspecialchars(SimpleSAML_Utilities::addURLparameter(SimpleSAML_Utilities::selfURL(), 'language=' . $lang)) . '">' .
$langnames[$lang] . '</a> | ';
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment