1
0
mirror of https://github.com/ezyang/htmlpurifier.git synced 2025-07-10 17:26:25 +02:00

Make SafeScripting case-sensitive.

Signed-off-by: Edward Z. Yang <ezyang@cs.stanford.edu>
This commit is contained in:
Edward Z. Yang
2018-11-11 16:21:34 -05:00
parent 4b6b3b31e8
commit 0f7b138aaf
3 changed files with 8 additions and 2 deletions

View File

@ -38,6 +38,10 @@ class HTMLPurifier_HTMLModule_SafeScriptingTest extends HTMLPurifier_HTMLModuleH
'<script type="text/javascript" src="http://localhost/foobar.js" />',
''
);
$this->assertResult(
'<script type="text/javascript" src="http://localhost/FOO.JS" />',
''
);
}
}