From f27dd53402a8e5dd4f1bf0f4f33843e963c0f775 Mon Sep 17 00:00:00 2001 From: Martin Kletzander Date: Mon, 10 Jul 2017 11:47:49 +0200 Subject: [PATCH] docs: Properly quote self uri in search.php This removes the classical XSS vulnerability of using unquoted PHP_SELF. Reported-by: John Lightsey Signed-off-by: Martin Kletzander --- docs/search.php.code.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/search.php.code.in b/docs/search.php.code.in index c7511c3782..3c66f94ca5 100644 --- a/docs/search.php.code.in +++ b/docs/search.php.code.in @@ -12,7 +12,7 @@ $querystr = htmlspecialchars($query, ENT_QUOTES, 'UTF-8'); ?> -