diff options
Diffstat (limited to 'tests/PHPUnit/System/LabelFilterTest.php')
-rw-r--r-- | tests/PHPUnit/System/LabelFilterTest.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/PHPUnit/System/LabelFilterTest.php b/tests/PHPUnit/System/LabelFilterTest.php index 809409754b..f19828638d 100644 --- a/tests/PHPUnit/System/LabelFilterTest.php +++ b/tests/PHPUnit/System/LabelFilterTest.php @@ -113,7 +113,7 @@ class LabelFilterTest extends SystemTestCase ); $return[] = array('Referrers.getSearchEngines', $searchEngineTest); - $searchEngineTest['otherRequestParameters']['label'] = urlencode('Google>' . urlencode(html_entity_decode($keyword))); + $searchEngineTest['otherRequestParameters']['label'] = urlencode('Google>' . urlencode(html_entity_decode($keyword, ENT_COMPAT | ENT_HTML401, 'UTF-8'))); $return[] = array('Referrers.getSearchEngines', $searchEngineTest); // test the ! operator |