Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HTTP_HOST mangling causes Login to fail for some users #2444

Closed
robocoder opened this issue May 21, 2011 · 6 comments
Closed

HTTP_HOST mangling causes Login to fail for some users #2444

robocoder opened this issue May 21, 2011 · 6 comments
Assignees
Labels
Bug For errors / faults / flaws / inconsistencies etc. Major Indicates the severity or impact or benefit of an issue is much higher than normal but not critical.
Milestone

Comments

@robocoder
Copy link
Contributor

In some environments, a fixup is applied to HTTP_HOST such that it doesn't match the host in SCRIPT_URI. Example:

This causes isLocalUrl() and ultimately, the Nonce verification on the Referer to fail.

@robocoder
Copy link
Contributor Author

(In [4750]) fixes #2444

@robocoder
Copy link
Contributor Author

(In [4754]) refs #2444 - relax isLocalReferer() test so that it's comparable to the Origin: test

@robocoder
Copy link
Contributor Author

(In [4756]) refs #2444

@robocoder
Copy link
Contributor Author

(In [4757]) refs #2444

@robocoder
Copy link
Contributor Author

(In [4758]) refs #2444

@robocoder
Copy link
Contributor Author

(In [4760]) refs #2444 - re-enable unit test

@robocoder robocoder added this to the 1.5 - Piwik 1.5 milestone Jul 8, 2014
@robocoder robocoder self-assigned this 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
Labels
Bug For errors / faults / flaws / inconsistencies etc. Major Indicates the severity or impact or benefit of an issue is much higher than normal but not critical.
Projects
None yet
Development

No branches or pull requests

1 participant