From: Robert Sesek Date: Wed, 23 Jan 2008 20:45:57 +0000 (-0500) Subject: We no longer need the ISSO_CHECK_POST_REFERER because we made BSInput::_checkPostRefe... X-Git-Tag: 3.0.0~15 X-Git-Url: https://src.bluestatic.org/?a=commitdiff_plain;h=d3490a70e78447d80ddd7af7be7b7f318f22a96f;p=isso.git We no longer need the ISSO_CHECK_POST_REFERER because we made BSInput::_checkPostReferer() public * Input.php: (BSInput::__construct): Remove the code that called _checkPostReferer() (BSInput::checkPostReferer): Removed the _ from the old name and made it public --- diff --git a/Input.php b/Input.php index 9530d49..bc8d107 100644 --- a/Input.php +++ b/Input.php @@ -74,10 +74,6 @@ define('TYPE_BIN', 128); * * This class is responsible for cleaning input. * -* Constants: -* ISSO_CHECK_POST_REFERER - Will check to make sure that on POSTed -* data, the referer matches the host -* * @author Blue Static * @copyright Copyright (c)2005 - 2008, Blue Static * @package ISSO @@ -112,11 +108,6 @@ class BSInput BSApp::debug('register_globals = ' . ini_get('register_globals')); $this->_sanitizeInputData(); - - if (defined('ISSO_CHECK_POST_REFERER')) - { - $this->_checkPostReferer(); - } } // ################################################################### @@ -404,7 +395,7 @@ class BSInput /** * Checks to see if a POST refer is actually from us */ - private function _checkPostReferer() + public function checkPostReferer() { if ($this->getHttpMethod() == 'post') {