act가 4자리 미만일 때 오류 수정.

ex) ‘IS’. 통합검색.
This commit is contained in:
bnu 2013-11-19 22:51:40 +09:00
parent a931f6b1ea
commit 708dda07eb

View file

@ -80,7 +80,7 @@ class ModuleHandler extends Handler
exit;
}
if(isset($this->act) && substr_compare($this->act, 'disp', 0, 4) === 0)
if(isset($this->act) && (strlen($this->act) >= 4 && substr_compare($this->act, 'disp', 0, 4) === 0))
{
if(Context::get('_use_ssl') == 'optional' && Context::isExistsSSLAction($this->act) && $_SERVER['HTTPS'] != 'on')
{