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

HTML Validation Errors in Image Tracking Code #2733

Closed
anonymous-matomo-user opened this issue Oct 22, 2011 · 4 comments
Closed

HTML Validation Errors in Image Tracking Code #2733

anonymous-matomo-user opened this issue Oct 22, 2011 · 4 comments
Labels
Bug For errors / faults / flaws / inconsistencies etc.
Milestone

Comments

@anonymous-matomo-user
Copy link

This is re-reporting of the image tracking code issue reported in ticket #2642. Unfortunately, the issue in the "Image Tracker code" shown in the web interface is still present in Piwik version 1.6. Despite the fact that "&" is present in DisplayAlternativeTags.tpl.

@mattab
Copy link
Member

mattab commented Oct 24, 2011

Works for me - if you experience an error please post it here...

@anonymous-matomo-user
Copy link
Author

I didn't mean the API functions - that seems to be fine. I meant the "Piwik Image Tracker" as shown in Piwik web interface (or should I better call it "user interface"?) under "Settings" - "Websites" - "View Tracking code" - "Display Image Tracker code".

It seems that the "&" in the template gets converted to "&" in the web interface. (Just like, e.g., "<" gets converted to "<".) Is it possible that the leading "&" needs to be escaped, so that "&" is kept in the web interface? (I don't know much about PHP/HTML.)

Thanks!

@anonymous-matomo-user
Copy link
Author

Or maybe urlencode() or htmlspecialchars() or htmlentities() with "&" needs to be used?

@mattab
Copy link
Member

mattab commented Oct 25, 2011

(In [5374]) Fixes #2733

@anonymous-matomo-user anonymous-matomo-user added this to the 1.7 Piwik 1.7 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