Navigation Menu

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

piwik.js: configTrackerUrl cannot contain a "?" for GET request method #2115

Closed
Fil opened this issue Feb 26, 2011 · 1 comment
Closed

piwik.js: configTrackerUrl cannot contain a "?" for GET request method #2115

Fil opened this issue Feb 26, 2011 · 1 comment
Labels
Bug For errors / faults / flaws / inconsistencies etc.
Milestone

Comments

@Fil
Copy link

Fil commented Feb 26, 2011

if the configTrackerUrl contains a "?" line 1008 in piwik.js should append a "&" instead of another "?"

proposed change :

  •           image.src = configTrackerUrl + '?' + request;
    
  •           image.src = configTrackerUrl + (configTrackerUrl.match(/[?]/) ? '&' : '?') + request;
    

PS: I kindof need this to integrate piwik in a CMS. I can find my way around though.

@robocoder
Copy link
Contributor

(In [3981]) fixes #2115

@Fil Fil added this to the Piwik 1.2 milestone Jul 8, 2014
@Fil Fil added T: Bug labels 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