Fix #922 failure to load scripts with the name 'jquery' in it

This commit is contained in:
Kijin Sung 2017-09-20 17:16:48 +09:00
parent 09e60ee3eb
commit a722f279d9

View file

@ -20,7 +20,7 @@ class HTMLDisplayHandler
*/
public static $blockedScripts = array(
'@\bcommon/(?:css|js)/xe(?:\.min)?\.(?:css|js)$@',
'@\bj[Qq]uery(?:-[0-9]+(?:\.[0-9x]+)*)?(?:\.min)?\.js$@',
'@(?:^|/)j[Qq]uery(?:-[0-9]+(?:\.[0-9x]+)*)?(?:\.min)?\.js$@',
);
/**