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

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

@robocoder
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)));
@robocoder
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.