X-Git-Url: http://git.heureux-cyclage.org/?a=blobdiff_plain;f=tests%2Fphpunit%2Fincludes%2Fupload%2FUploadBaseTest.php;h=287af29d79f973eb54353595c4cbad3d9e773687;hb=fdc70074bbe9cec0e83a2ef512c356861e60dc88;hp=ee74957c2c61afb5406171a993b93aaa77a0283b;hpb=3bb9384aeefa055a6ef1a6446ad49ee1017389f1;p=lhc%2Fweb%2Fwiklou.git diff --git a/tests/phpunit/includes/upload/UploadBaseTest.php b/tests/phpunit/includes/upload/UploadBaseTest.php index ee74957c2c..287af29d79 100644 --- a/tests/phpunit/includes/upload/UploadBaseTest.php +++ b/tests/phpunit/includes/upload/UploadBaseTest.php @@ -374,7 +374,12 @@ class UploadBaseTest extends MediaWikiTestCase { false, 'SVG with external entity' ], - + [ + " ", + true, + true, + 'SVG with javascript link with newline (T122653)' + ], // Test good, but strange files that we want to allow [ ' ',