Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'tests/PHPUnit/System/LabelFilterTest.php')
-rw-r--r--tests/PHPUnit/System/LabelFilterTest.php2
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