diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2010-08-30 18:04:00 -0400 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2010-08-30 18:04:00 -0400 |
commit | ee650539a26732bb85642c1130b7b2330f4f4e50 (patch) | |
tree | 1b9c6a158c17966a12e93aa35684ed557849635e | |
parent | a94e3f2016bec3f72aae2fd3e1575515ff93f5f6 (diff) | |
download | pfsense-ee650539a26732bb85642c1130b7b2330f4f4e50.zip pfsense-ee650539a26732bb85642c1130b7b2330f4f4e50.tar.gz |
Revert "Restart dnsmasq on change in case of dns rebinding changes"
This reverts commit a94e3f2016bec3f72aae2fd3e1575515ff93f5f6.
-rw-r--r-- | etc/inc/services.inc | 1 | ||||
-rw-r--r-- | usr/local/www/edit.php | 2 | ||||
-rw-r--r-- | usr/local/www/system_advanced_admin.php | 2 |
3 files changed, 1 insertions, 4 deletions
diff --git a/etc/inc/services.inc b/etc/inc/services.inc index a0c7b5d..ab8e6e8 100644 --- a/etc/inc/services.inc +++ b/etc/inc/services.inc @@ -670,7 +670,6 @@ function services_dnsmasq_configure() { } /* Allow DNS Rebind for forwarded domains */ - if(!isset($config['system']['webgui']['nodnsrebindcheck'])) { if (isset($config['dnsmasq']['domainoverrides']) && is_array($config['dnsmasq']['domainoverrides'])) { if(!isset($config['system']['webgui']['nodnsrebindcheck'])) { foreach($config['dnsmasq']['domainoverrides'] as $override) { diff --git a/usr/local/www/edit.php b/usr/local/www/edit.php index 6867a84..6b71ad2 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=" + escape(fileContent), + "&data=" + fileContent, onComplete: function(req) { var values = req.responseText.split("|"); $("fileStatus").innerHTML = values[1]; diff --git a/usr/local/www/system_advanced_admin.php b/usr/local/www/system_advanced_admin.php index e7ae297..4cdf065 100644 --- a/usr/local/www/system_advanced_admin.php +++ b/usr/local/www/system_advanced_admin.php @@ -189,8 +189,6 @@ if ($_POST) { conf_mount_rw(); setup_serial_port(); - // Restart dnsmasq in case dns rebinding toggled - services_dnsmasq_configure(); conf_mount_ro(); } } |