From 7f266483b827fb05a4be11663003418c2ef1c878 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michal=20=C4=8Ciha=C5=99?= Date: Tue, 17 Aug 2010 16:23:09 +0200 Subject: [PATCH] Fix XSS on delimiter in tbl_sql.php. --- tbl_sql.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tbl_sql.php b/tbl_sql.php index 5565d923b..f3c3aac6e 100644 --- a/tbl_sql.php +++ b/tbl_sql.php @@ -38,7 +38,7 @@ require_once './libraries/tbl_links.inc.php'; /** * Query box, bookmark, insert data from textfile */ -PMA_sqlQueryForm(true, false, isset($_REQUEST['delimiter']) ? $_REQUEST['delimiter'] : ';'); +PMA_sqlQueryForm(true, false, isset($_REQUEST['delimiter']) ? htmlspecialchars($_REQUEST['delimiter']) : ';'); /** * Displays the footer