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:
authorHerman van Rink <rink@initfour.nl>2011-08-19 13:01:45 +0400
committerHerman van Rink <rink@initfour.nl>2011-08-19 13:01:45 +0400
commitf00c57bdf3669d7471b30e6750f6762d2e01947b (patch)
tree76ab557ffee4d44e3ec78c7877c12fefd26264fa /tbl_tracking.php
parent4e5c583dcfdd6307f1093f80a9e1d1ff0480cc7d (diff)
Slightly far fetched XSS prevention
Diffstat (limited to 'tbl_tracking.php')
-rw-r--r--tbl_tracking.php10
1 files changed, 5 insertions, 5 deletions
diff --git a/tbl_tracking.php b/tbl_tracking.php
index 047066384c..96d502418e 100644
--- a/tbl_tracking.php
+++ b/tbl_tracking.php
@@ -423,8 +423,8 @@ if (isset($_REQUEST['report']) || isset($_REQUEST['report_export'])) {
?>
<tr class="noclick <?php echo $style; ?>">
<td><small><?php echo $i;?></small></td>
- <td><small><?php echo $entry['date'];?></small></td>
- <td><small><?php echo $entry['username']; ?></small></td>
+ <td><small><?php echo htmlspecialchars($entry['date']);?></small></td>
+ <td><small><?php echo htmlspecialchars($entry['username']); ?></small></td>
<td><?php echo $statement; ?></td>
</tr>
<?php
@@ -613,9 +613,9 @@ if ($last_version > 0) {
<tr class="noclick <?php echo $style;?>">
<td><?php echo htmlspecialchars($version['db_name']);?></td>
<td><?php echo htmlspecialchars($version['table_name']);?></td>
- <td><?php echo $version['version'];?></td>
- <td><?php echo $version['date_created'];?></td>
- <td><?php echo $version['date_updated'];?></td>
+ <td><?php echo htmlspecialchars($version['version']);?></td>
+ <td><?php echo htmlspecialchars($version['date_created']);?></td>
+ <td><?php echo htmlspecialchars($version['date_updated']);?></td>
<td><?php echo $version_status;?></td>
<td> <a href="tbl_tracking.php<?php echo PMA_generate_common_url($url_params + array('report' => 'true', 'version' => $version['version'])
);?>"><?php echo __('Tracking report');?></a>