Skip to content
Permalink
Browse files Browse the repository at this point in the history
fix XSS reported by Janek Vind
  • Loading branch information
ruleant committed Apr 1, 2013
1 parent 93070c0 commit 79089c9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tbl_gis_visualization.php
Expand Up @@ -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>
Expand Down Expand Up @@ -202,4 +202,4 @@ function drawOpenLayers() {
*/
require './libraries/footer.inc.php';

?>
?>

0 comments on commit 79089c9

Please sign in to comment.