X-Git-Url: https://git.heureux-cyclage.org/?p=lhc%2Fweb%2Fwiklou.git;a=blobdiff_plain;f=tests%2Fphpunit%2Fincludes%2Fparser%2FSanitizerTest.php;h=1b67bbdf79f57ebbb2bd9e8cf6f82a5235d1d156;hp=1f6f4e873bba855af9732e5662bae72e2a8c91a2;hb=214b37ff07f3fde89430297b2a857750a56ae205;hpb=cbe3c7c8e37d322eca797be23a9687b4b1273f97 diff --git a/tests/phpunit/includes/parser/SanitizerTest.php b/tests/phpunit/includes/parser/SanitizerTest.php index 1f6f4e873b..1b67bbdf79 100644 --- a/tests/phpunit/includes/parser/SanitizerTest.php +++ b/tests/phpunit/includes/parser/SanitizerTest.php @@ -326,6 +326,7 @@ class SanitizerTest extends MediaWikiTestCase { ], [ '/* insecure input */', 'foo: attr( title, url );' ], [ '/* insecure input */', 'foo: attr( title url );' ], + [ '/* insecure input */', 'foo: var(--evil-attribute)' ], ]; }