From 1b330d8ac8b01e2d9bd4d435ddc70563313d13b5 Mon Sep 17 00:00:00 2001 From: jakubvrana Date: Mon, 22 Jun 2009 00:17:50 +0000 Subject: [PATCH] XSS git-svn-id: https://adminer.svn.sourceforge.net/svnroot/adminer/trunk@745 7c3ca157-0c34-0410-bff1-cbf682f78f5c --- adminer/table.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/adminer/table.inc.php b/adminer/table.inc.php index fcd05d82..bdff1b54 100644 --- a/adminer/table.inc.php +++ b/adminer/table.inc.php @@ -13,7 +13,7 @@ if ($result) { if (!$row["auto_increment"]) { $auto_increment_only = false; } - echo "" . htmlspecialchars($row["Field"]) . "$row[Type]" . ($row["Null"] == "YES" ? " NULL" : "") . "\n"; + echo "" . htmlspecialchars($row["Field"]) . "" . htmlspecialchars($row["Type"]) . ($row["Null"] == "YES" ? " NULL" : "") . "\n"; } echo "\n"; $result->free();