core/Url.php: getCurrentHost() should fallback to SERVER_ADDR #3108

robocoder opened this Issue Apr 13, 2012 · 1 comment

1 participant


If the request doesn't contain a Host: header, we should probably default to the server's IP address,
instead of unknown

Investigate impact.


(In [6208]) fixes #3108 - fallback to SERVER_ADDR if HTTP_HOST not defined

@robocoder robocoder added this to the 1.x - Piwik 1.x 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