Please sign in to comment.
Make Request#remote_ip return nil when HTTP_X_FORWARDED_FOR is empty
If HTTP_X_FORWARDED_FOR only contains whitespace, don't try to extract a list of IP addresses from it.
- Loading branch information...
Showing with 4 additions and 1 deletion.