PHP 5.4 이상부터 의미가 없어진 변수 입력 제거

* [매뉴얼](https://secure.php.net/en/htmlspecialchars)에서 기본값이 되었다고 설명함.
* 빼먹은 `LOCK_EX` 다시 추가.
This commit is contained in:
MinSoo Kim 2016-01-02 22:59:28 +09:00
parent 74facfc670
commit 264a5d3ef5
10 changed files with 16 additions and 16 deletions

View file

@ -131,7 +131,7 @@ class HTMLPurifier_Printer
protected function escape($string)
{
$string = HTMLPurifier_Encoder::cleanUTF8($string);
$string = htmlspecialchars($string, ENT_COMPAT, 'UTF-8', false);
$string = htmlspecialchars($string, ENT_COMPAT, 'UTF-8');
return $string;
}