Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

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

Closed
robocoder opened this Issue · 1 comment

1 participant

Anthon Pang
Anthon Pang
Collaborator

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.

Anthon Pang
Collaborator

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

Anthon Pang 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.