Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

HTML Validation Errors in Image Tracking Code #2733

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

2 participants

Anonymous Piwik user Matthieu Aubry
Anonymous Piwik user

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.

Matthieu Aubry
Owner

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

Anonymous Piwik user

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 Piwik user

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

Matthieu Aubry
Owner

(In [5374]) Fixes #2733

Anonymous Piwik user anonymous-piwik-user added this to the 1.7 Piwik 1.7 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.