From a0823be05aa5835f207c0838b9cca67d2d9a050a Mon Sep 17 00:00:00 2001 From: Marc Delisle Date: Thu, 7 Jul 2011 14:39:09 -0400 Subject: [PATCH] XSS on table Print view --- tbl_printview.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tbl_printview.php b/tbl_printview.php index 74b6818e4..8e8ce24d4 100644 --- a/tbl_printview.php +++ b/tbl_printview.php @@ -84,7 +84,7 @@ foreach ($the_tables as $key => $table) { } $counter++; echo '' . "\n"; - echo '

' . $table . '

' . "\n"; + echo '

' . htmlspecialchars($table) . '

' . "\n"; /** * Gets table informations