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

Prevent cookie issues when running behind a proxy #2590

Merged
merged 1 commit into from
May 1, 2016

Conversation

michael-e
Copy link
Member

Removing the condition prevents that the getDomain function returns null just because $_SERVER['SERVER_ADDR'] is the local IP. The latter is the case if Symphony/Apache run behind a reverse proxy (e.g. nginx).

@nitriques nitriques merged commit f7fc180 into symphonycms:2.7.x May 1, 2016
@michael-e michael-e deleted the fix-2454 branch May 1, 2016 19:44
@michael-e michael-e mentioned this pull request Jul 19, 2016
nitriques pushed a commit that referenced this pull request Jun 16, 2017
nitriques pushed a commit that referenced this pull request Jun 16, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants