Permalink
Browse files

fix XSS reported by Janek Vind

  • Loading branch information...
1 parent 93070c0 commit 79089c9bc02c82c15419fd9d6496b8781ae08a5a @ruleant ruleant committed Mar 31, 2013
Showing with 2 additions and 2 deletions.
  1. +2 −2 tbl_gis_visualization.php
@@ -110,7 +110,7 @@
<?php echo PMA_generate_common_hidden_inputs($url_params); ?>
<fieldset>
<legend><?php echo __('Display GIS Visualization'); ?></legend>
- <div id="placeholder" style="width:<?php echo($visualizationSettings['width']); ?>px;height:<?php echo($visualizationSettings['height']); ?>px;">
+ <div id="placeholder" style="width:<?php echo(htmlspecialchars($visualizationSettings['width'])); ?>px;height:<?php echo(htmlspecialchars($visualizationSettings['height'])); ?>px;">
<?php echo $visualization; ?>
</div>
<div id="openlayersmap"></div>
@@ -202,4 +202,4 @@ function drawOpenLayers() {
*/
require './libraries/footer.inc.php';
-?>
+?>

0 comments on commit 79089c9

Please sign in to comment.