fixed PLA XSS

This commit is contained in:
Roland Gruber 2012-01-26 18:25:55 +00:00
parent 6f8abe9ce5
commit d142f5f430
1 changed files with 2 additions and 2 deletions

View File

@ -455,7 +455,7 @@ class QueryRender extends PageRender {
$this->getAjaxRef($base),
$this->getAjaxRef($base),
($show == $this->getAjaxRef($base) ? '#F0F0F0' : '#E0E0E0'),
$base);
htmlspecialchars($base));
}
echo '</tr>';
echo '</table>';
@ -503,7 +503,7 @@ class QueryRender extends PageRender {
echo ' ]</small>';
echo '<br />';
printf('<small>%s: <b>%s</b></small>',_('Base DN'),$base);
printf('<small>%s: <b>%s</b></small>',_('Base DN'), htmlspecialchars($base));
echo '<br />';
printf('<small>%s: <b>%s</b></small>',_('Filter performed'),htmlspecialchars($this->template->resultsdata[$base]['filter']));