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:
authorStefan Giehl <stefan@piwik.org>2017-10-04 23:27:31 +0300
committerMatthieu Aubry <mattab@users.noreply.github.com>2017-10-04 23:27:31 +0300
commit557571b23b39e4f087cbddaa7afd5417ae11422a (patch)
treee37b34f27d52098732631453e49339624c51ebd2 /plugins/Actions
parenta2e369e10d0cdc314540b5d3e4fe0da08e6cc7c5 (diff)
force using utf-8 as charset for htmlentities/htmlspecialchars (#12135)
Diffstat (limited to 'plugins/Actions')
-rw-r--r--plugins/Actions/Reports/GetPageTitles.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/Actions/Reports/GetPageTitles.php b/plugins/Actions/Reports/GetPageTitles.php
index 5a5e0581e9..ddddb2e0ae 100644
--- a/plugins/Actions/Reports/GetPageTitles.php
+++ b/plugins/Actions/Reports/GetPageTitles.php
@@ -29,7 +29,7 @@ class GetPageTitles extends Base
$this->dimension = new PageTitle();
$this->name = Piwik::translate('Actions_SubmenuPageTitles');
$this->documentation = Piwik::translate('Actions_PageTitlesReportDocumentation',
- array('<br />', htmlentities('<title>')));
+ array('<br />', htmlentities('<title>', ENT_COMPAT | ENT_HTML401, 'UTF-8')));
$this->order = 5;
$this->metrics = array('nb_hits', 'nb_visits');