summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--usr/local/www/edit.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/local/www/edit.php b/usr/local/www/edit.php
index f700fcf..f83c937 100644
--- a/usr/local/www/edit.php
+++ b/usr/local/www/edit.php
@@ -229,7 +229,7 @@ outputJavaScriptFileInline("javascript/base64.js");
<?php if($_GET['action'] == "load"): ?>
jQuery(window).load(
function() {
- jQuery("#fbTarget").val("<?=$_GET['path'];?>");
+ jQuery("#fbTarget").val("<?=htmlspecialchars($_GET['path']);?>");
loadFile();
}
);
OpenPOWER on IntegriCloud