From d3490a70e78447d80ddd7af7be7b7f318f22a96f Mon Sep 17 00:00:00 2001 From: Robert Sesek Date: Wed, 23 Jan 2008 15:45:57 -0500 Subject: [PATCH] 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 --- Input.php | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) 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') { -- 2.43.5