@anonymous-piwik-user opened this Issue on July 16th 2010

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

@anonymous-piwik-user commented on July 16th 2010
@robocoder commented on July 16th 2010 Contributor

fixed in r2389 for #1451

@anonymous-piwik-user commented on July 16th 2010

That was quite fast.

This Issue was closed on July 16th 2010
Powered by GitHub Issue Mirror