mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-09 03:32:00 +09:00
#780 HTTP_HOST 조작 문제 처리
This commit is contained in:
parent
e461615ec8
commit
1d6cde6319
1 changed files with 6 additions and 0 deletions
|
|
@ -1126,6 +1126,12 @@ class Context
|
|||
function _checkGlobalVars()
|
||||
{
|
||||
$this->_recursiveCheckVar($_SERVER['HTTP_HOST']);
|
||||
|
||||
$pattern = "/[\,\"\'\{\}\[\]\(\);$]/";
|
||||
if(preg_match($pattern, $_SERVER['HTTP_HOST']))
|
||||
{
|
||||
$this->isSuccessInit = FALSE;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue