mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-20 19:59:54 +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
|
|
@ -125,7 +125,7 @@ class HTMLPurifier_Lexer
|
|||
default:
|
||||
throw new HTMLPurifier_Exception(
|
||||
"Cannot instantiate unrecognized Lexer type " .
|
||||
htmlspecialchars($lexer, ENT_COMPAT | ENT_HTML401, 'UTF-8', false)
|
||||
htmlspecialchars($lexer)
|
||||
);
|
||||
}
|
||||
}
|
||||
|
|
@ -279,7 +279,7 @@ class HTMLPurifier_Lexer
|
|||
protected static function CDATACallback($matches)
|
||||
{
|
||||
// not exactly sure why the character set is needed, but whatever
|
||||
return htmlspecialchars($matches[1], ENT_COMPAT, 'UTF-8', false);
|
||||
return htmlspecialchars($matches[1], ENT_COMPAT, 'UTF-8');
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue