diff options
author | Marc Delisle <marc@infomarc.info> | 2011-07-07 22:39:09 +0400 |
---|---|---|
committer | Marc Delisle <marc@infomarc.info> | 2011-07-07 22:39:09 +0400 |
commit | a0823be05aa5835f207c0838b9cca67d2d9a050a (patch) | |
tree | ca47593a487a281a1f7f2898b1f22a97ac3c17ff /tbl_printview.php | |
parent | e214683f9fe4955dcbf0ffce045983728c7fa9d3 (diff) |
XSS on table Print view
Diffstat (limited to 'tbl_printview.php')
-rw-r--r-- | tbl_printview.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tbl_printview.php b/tbl_printview.php index 74b6818e4b..8e8ce24d47 100644 --- a/tbl_printview.php +++ b/tbl_printview.php @@ -84,7 +84,7 @@ foreach ($the_tables as $key => $table) { } $counter++; echo '<div' . $breakstyle . '>' . "\n"; - echo '<h1>' . $table . '</h1>' . "\n"; + echo '<h1>' . htmlspecialchars($table) . '</h1>' . "\n"; /** * Gets table informations |