You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
BugFor errors / faults / flaws / inconsistencies etc.duplicateFor issues that already existed in our issue tracker and were reported previously.MajorIndicates the severity or impact or benefit of an issue is much higher than normal but not critical.
I've found a bug trying to integrate Piwik with Django via Python-piwik.
That one calls SitesManager.getJavascriptTag which is defined as
return self::getCurrentScheme().'://'.self::getCurrentHost(). self::getCurrentScriptPath();
BugFor errors / faults / flaws / inconsistencies etc.duplicateFor issues that already existed in our issue tracker and were reported previously.MajorIndicates the severity or impact or benefit of an issue is much higher than normal but not critical.
Hi,
I've found a bug trying to integrate Piwik with Django via Python-piwik.
That one calls SitesManager.getJavascriptTag which is defined as
return self::getCurrentScheme().'://'.self::getCurrentHost(). self::getCurrentScriptPath();
However, on my server, getCurrentHost is sub.domain.tld and getCurrentScriptPath is /http://sub.domain.tld/piwik/ (with both those trailing slashes). So getJavascriptTag produces
http://sub.domain.tld/http://sub.domain.tld/piwik/
which obviously does not work.
This breaks the API.
Should be easy to fix
Greets
The text was updated successfully, but these errors were encountered: