Undo double encoding: html entities doesn't show correctly in Page titles widget #1786

anonymous-piwik-user opened this Issue Oct 29, 2010 · 3 comments

2 participants


If there are html entities (i.g. ö ) in title tag of tracked page,the entities sometimes doesn't show correctly in Page titles widget. Please look in attachement.
Maybe a html_entity_decode is missing.



Attachment: Page titles widget


The ampersand is encodeURIComponent()'d for transmission. This would actually require getRequestVar() to sanitize with something like:

$x = htmlspecialchars(html_entity_decode(htmlspecialchars_decode($x)));

(In [3276]) fixes #1786

@anonymous-piwik-user anonymous-piwik-user added this to the Piwik 1.1 milestone Jul 8, 2014
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment