summaryrefslogtreecommitdiff
path: root/tests/phpunit/includes/search/SearchUpdateTest.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/phpunit/includes/search/SearchUpdateTest.php')
-rw-r--r--tests/phpunit/includes/search/SearchUpdateTest.php10
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/phpunit/includes/search/SearchUpdateTest.php b/tests/phpunit/includes/search/SearchUpdateTest.php
index 935425a6..6e49a9a1 100644
--- a/tests/phpunit/includes/search/SearchUpdateTest.php
+++ b/tests/phpunit/includes/search/SearchUpdateTest.php
@@ -77,4 +77,14 @@ EOT
'Bug 18609'
);
}
+
+ function testBug32712() {
+ $text = "text „http://example.com“ text";
+ $result = $this->updateText( $text );
+ $processed = preg_replace( '/Q/u', 'Q', $result );
+ $this->assertTrue(
+ $processed != '',
+ 'Link surrounded by unicode quotes should not fail UTF-8 validation'
+ );
+ }
}