mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
Comment what we are doing here and add the ticket #.
This commit is contained in:
parent
ce46b5da40
commit
1ba06f4465
@ -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']) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user