Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
anonymous-matomo-user opened this issue Oct 29, 2010 · 3 comments
Labels
Bug For errors / faults / flaws / inconsistencies etc.
Milestone

Comments

@anonymous-matomo-user
Copy link

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-matomo-user
Copy link
Author

Attachment: Page titles widget
screen-capture.png

@robocoder
Copy link
Contributor

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
Copy link
Contributor

(In [3276]) fixes #1786

@anonymous-matomo-user anonymous-matomo-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
Labels
Bug For errors / faults / flaws / inconsistencies etc.
Projects
None yet
Development

No branches or pull requests

2 participants