diff options
author | jim-p <jimp@pfsense.org> | 2010-07-06 16:32:09 -0400 |
---|---|---|
committer | jim-p <jimp@pfsense.org> | 2010-07-06 16:32:09 -0400 |
commit | 14eab6fb4d893a179c8e689769168968456e1c74 (patch) | |
tree | 8464eaa6958f053b30f4d1505a7ec4063064bc5b /etc | |
parent | 06cb265678b140cba68bba30ea97247c18068f46 (diff) | |
download | pfsense-14eab6fb4d893a179c8e689769168968456e1c74.zip pfsense-14eab6fb4d893a179c8e689769168968456e1c74.tar.gz |
Add a checkbox to disable DNS rebinding checks if needed.
Diffstat (limited to 'etc')
-rw-r--r-- | etc/inc/auth.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/inc/auth.inc b/etc/inc/auth.inc index b41b81f..ac1df6b 100644 --- a/etc/inc/auth.inc +++ b/etc/inc/auth.inc @@ -51,7 +51,7 @@ require_once("config.gui.inc"); /* If this function doesn't exist, we're being called from Captive Portal or another internal subsystem which does not include authgui.inc */ -if (function_exists("display_error_form")) { +if (function_exists("display_error_form") && !isset($config['system']['webgui']['nodnsrebindcheck'])) { /* DNS ReBinding attack prevention. http://redmine.pfsense.org/issues/708 */ $found_host = false; if(strstr($_SERVER['HTTP_HOST'], ":")) { |