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/javascript/piwik.php')
-rw-r--r--tests/javascript/piwik.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/javascript/piwik.php b/tests/javascript/piwik.php
index 0c38317175..20f7c41aa4 100644
--- a/tests/javascript/piwik.php
+++ b/tests/javascript/piwik.php
@@ -80,7 +80,7 @@ function logRequest($db, $uri, $data) {
}
if (isset($_GET['requests'])) {
- $token = htmlentities($_GET['requests']);
+ $token = htmlentities($_GET['requests'], ENT_COMPAT | ENT_HTML401, 'UTF-8');
$ua = $_SERVER['HTTP_USER_AGENT'];
echo "<html><head><title>$token</title></head><body>\n";