mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-18 18:59:56 +09:00
PHP 5.4 이상부터 의미가 없어진 변수 입력 제거
* [매뉴얼](https://secure.php.net/en/htmlspecialchars)에서 기본값이 되었다고 설명함. * 빼먹은 `LOCK_EX` 다시 추가.
This commit is contained in:
parent
74facfc670
commit
264a5d3ef5
10 changed files with 16 additions and 16 deletions
|
|
@ -181,7 +181,7 @@ class HTMLPurifier_Config
|
|||
if (!isset($this->def->info[$key])) {
|
||||
// can't add % due to SimpleTest bug
|
||||
$this->triggerError(
|
||||
'Cannot retrieve value of undefined directive ' . htmlspecialchars($key, ENT_COMPAT | ENT_HTML401, 'UTF-8', false),
|
||||
'Cannot retrieve value of undefined directive ' . htmlspecialchars($key),
|
||||
E_USER_WARNING
|
||||
);
|
||||
return;
|
||||
|
|
@ -226,7 +226,7 @@ class HTMLPurifier_Config
|
|||
if (!isset($full[$namespace])) {
|
||||
$this->triggerError(
|
||||
'Cannot retrieve undefined namespace ' .
|
||||
htmlspecialchars($namespace, ENT_COMPAT | ENT_HTML401, 'UTF-8', false),
|
||||
htmlspecialchars($namespace),
|
||||
E_USER_WARNING
|
||||
);
|
||||
return;
|
||||
|
|
@ -309,7 +309,7 @@ class HTMLPurifier_Config
|
|||
}
|
||||
if (!isset($this->def->info[$key])) {
|
||||
$this->triggerError(
|
||||
'Cannot set undefined directive ' . htmlspecialchars($key, ENT_COMPAT | ENT_HTML401, 'UTF-8', false) . ' to value',
|
||||
'Cannot set undefined directive ' . htmlspecialchars($key) . ' to value',
|
||||
E_USER_WARNING
|
||||
);
|
||||
return;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue