Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

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

Closed
anonymous-piwik-user opened this Issue · 3 comments

2 participants

Anonymous Piwik user Anthon Pang
Anonymous Piwik user

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.

Greetings
machoyer

Anonymous Piwik user

Attachment: Page titles widget
screen-capture.png

Anthon Pang
Collaborator

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)));
Anthon Pang
Collaborator

(In [3276]) fixes #1786

Anonymous Piwik user anonymous-piwik-user added this to the Piwik 1.1 milestone
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.