You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Reported by netesa on 16 Dec 2013 18:09 UTC as Trac ticket #1489481
X-Forwarded-For may return more than 1 IP address (multiple values are comma separated). When this string is passed as an argument for gethostbyaddr() PHP gives the following error: Warning: Address is not a valid IPv4 or IPv6 address... This might happen in sendmail.inc, line 350.
The following patch extracts only the first IP (the client address) from the string.
Reported by netesa on 16 Dec 2013 18:09 UTC as Trac ticket #1489481
X-Forwarded-For may return more than 1 IP address (multiple values are comma separated). When this string is passed as an argument for gethostbyaddr() PHP gives the following error: Warning: Address is not a valid IPv4 or IPv6 address... This might happen in sendmail.inc, line 350.
The following patch extracts only the first IP (the client address) from the string.
Sorry for posting a patch again here, next time I will make a pull-request.
Migrated-From: http://trac.roundcube.net/ticket/1489481
The text was updated successfully, but these errors were encountered: