Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

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

Closed
robocoder opened this Issue · 1 comment

1 participant

@robocoder

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

Investigate impact.

@robocoder

(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
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.