From 4226ef6f206ce7a5d81b3f04b85d4b47937a0f0f Mon Sep 17 00:00:00 2001 From: Filip Komar Date: Fri, 10 Jan 2014 20:16:39 +0000 Subject: security improved for some pages with strip_tags of --- langs/missing.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'langs/missing.php') diff --git a/langs/missing.php b/langs/missing.php index 03b6cd698..c8f5a4705 100644 --- a/langs/missing.php +++ b/langs/missing.php @@ -2,8 +2,8 @@ /** */ -$s = isset($_GET['s']) ? trim($_GET['s']) : null; -$l = isset($_GET['l']) ? trim($_GET['l']) : null; +$s = isset($_GET['s']) ? strip_tags(trim($_GET['s'])) : null; +$l = isset($_GET['l']) ? strip_tags(trim($_GET['l'])) : null; if (is_null($s)) { header('Location: /langs/report.php'); -- cgit v1.2.1