Comment what we are doing here and add the ticket #.

This commit is contained in:
Scott Ullrich 2010-07-01 17:25:17 -04:00
parent ce46b5da40
commit 1ba06f4465

View File

@ -49,6 +49,7 @@
require_once("config.gui.inc");
/* DNS Binding attack prevention. http://redmine.pfsense.org/issues/708 */
if ($_SERVER['HTTP_HOST'] != $config['system']['hostname'] . "." . $config['system']['domain'] and
$_SERVER['HTTP_HOST'] != $_SERVER['SERVER_ADDR'] and
$_SERVER['HTTP_HOST'] != $config['system']['hostname']) {