mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-03 16:51:40 +09:00
Fix excessively strict check for scripts
XE보다 더 엄격하게 되어 버린 스크립트 입력 체크 기준을 다소 완화하여 <script language="php"> 등 PHP로 해석될 여지가 있는 것만 필터링함 cf. https://xetown.com/qna/1090769
This commit is contained in:
parent
7d318c3122
commit
06349cdd98
1 changed files with 1 additions and 1 deletions
|
|
@ -174,7 +174,7 @@ class Context
|
|||
*/
|
||||
private static $_check_patterns = array(
|
||||
'@<(?:\?|%)@',
|
||||
'@</?script@i',
|
||||
'@<script\s*?language\s*?=@i',
|
||||
);
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue