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

Request::ServerVariables('REMOTE_IP') sometimes returns undef #22

Open
mamurphy opened this issue Dec 5, 2017 · 0 comments
Open

Request::ServerVariables('REMOTE_IP') sometimes returns undef #22

mamurphy opened this issue Dec 5, 2017 · 0 comments

Comments

@mamurphy
Copy link
Member

mamurphy commented Dec 5, 2017

When only private IP's are available, REMOTE_IP returns undef because private IP's are being filtered away.

Solution in this case would be to return the first defined IP address in the list when only private IP's exist.

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

No branches or pull requests

1 participant