#780 HTTP_HOST 조작 문제 처리

This commit is contained in:
akasima 2014-06-12 17:02:37 +09:00
parent e461615ec8
commit 1d6cde6319

View file

@ -1126,6 +1126,12 @@ class Context
function _checkGlobalVars()
{
$this->_recursiveCheckVar($_SERVER['HTTP_HOST']);
$pattern = "/[\,\"\'\{\}\[\]\(\);$]/";
if(preg_match($pattern, $_SERVER['HTTP_HOST']))
{
$this->isSuccessInit = FALSE;
}
}
/**