From 7bf2eb8ba09b54cec804446ea39a3e658773fac9 Mon Sep 17 00:00:00 2001 From: Pierre Schmitz Date: Sat, 21 May 2016 08:33:14 +0200 Subject: Update to MediaWiki 1.26.3 --- tests/phpunit/includes/upload/UploadBaseTest.php | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'tests/phpunit/includes/upload') diff --git a/tests/phpunit/includes/upload/UploadBaseTest.php b/tests/phpunit/includes/upload/UploadBaseTest.php index 9441b77f..a3f8ae48 100644 --- a/tests/phpunit/includes/upload/UploadBaseTest.php +++ b/tests/phpunit/includes/upload/UploadBaseTest.php @@ -374,6 +374,12 @@ class UploadBaseTest extends MediaWikiTestCase { false, 'SVG with external entity' ), + array( + " ", + true, + true, + 'SVG with javascript link with newline (T122653)' + ), // Test good, but strange files that we want to allow array( -- cgit v1.2.3-54-g00ecf