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

Fixes for Request#remote_ip (no middleware, all proxies) #3649

Merged
merged 3 commits into from Nov 17, 2011

Conversation

indirect
Copy link
Member

So it turns out that the RemoteIp middleware might not be added to the stack. Hah. Also, when requesting directly from box with a proxy IP, we should return the IP, not filter it.

@jonleighton, this fixes all the test failures you noted from the previous merges.

tenderlove added a commit that referenced this pull request Nov 17, 2011
Fixes for Request#remote_ip (no middleware, all proxies)
@tenderlove tenderlove merged commit 70f9b74 into rails:master Nov 17, 2011
@jonleighton
Copy link
Member

👍 this makes me happy

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants