summaryrefslogtreecommitdiffstats
path: root/usr/local/www/edit.php
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2010-08-30 18:02:33 -0400
committerScott Ullrich <sullrich@pfsense.org>2010-08-30 18:02:42 -0400
commita94e3f2016bec3f72aae2fd3e1575515ff93f5f6 (patch)
treef5d2318ac1ea5c0ac98cf2e1fe8282b61ff2521f /usr/local/www/edit.php
parent6733f0f90f544cb5107b4bdf3bc4a2bd7843b715 (diff)
downloadpfsense-a94e3f2016bec3f72aae2fd3e1575515ff93f5f6.zip
pfsense-a94e3f2016bec3f72aae2fd3e1575515ff93f5f6.tar.gz
Restart dnsmasq on change in case of dns rebinding changes
Diffstat (limited to 'usr/local/www/edit.php')
-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 6b71ad2..6867a84 100644
--- a/usr/local/www/edit.php
+++ b/usr/local/www/edit.php
@@ -138,7 +138,7 @@ outputJavaScriptFileInline("filebrowser/browser.js");
"<?=$_SERVER['SCRIPT_NAME'];?>", {
method: "post",
postBody: "action=save&file=" + $("fbTarget").value +
- "&data=" + fileContent,
+ "&data=" + escape(fileContent),
onComplete: function(req) {
var values = req.responseText.split("|");
$("fileStatus").innerHTML = values[1];
OpenPOWER on IntegriCloud