Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/phpmyadmin/phpmyadmin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarc Delisle <marc@infomarc.info>2011-07-07 22:39:09 +0400
committerMarc Delisle <marc@infomarc.info>2011-07-07 22:39:09 +0400
commita0823be05aa5835f207c0838b9cca67d2d9a050a (patch)
treeca47593a487a281a1f7f2898b1f22a97ac3c17ff /tbl_printview.php
parente214683f9fe4955dcbf0ffce045983728c7fa9d3 (diff)
XSS on table Print view
Diffstat (limited to 'tbl_printview.php')
-rw-r--r--tbl_printview.php2
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