See RFC 7239 for specifics, but basically the Forwarded header should support values like these:
for="_gazonk"
for=192.0.2.60; proto=http; by=203.0.113.43
for=192.0.2.43, for=198.51.100.17
For="[2001:db8:cafe::17]:4711"
According the the RFC the Forwarded header supports the following case-insensitive parameters separated by a semicolon (and optional space): for, by, proto and host
It does not support just a plain IP address as the code currently accepts.
Each of those parameters can be a comma separated list.
The RFC is pretty straight forward. You've created a very helpful module here and it would be very nice to have support for that header with it!
See RFC 7239 for specifics, but basically the
Forwardedheader should support values like these:According the the RFC the
Forwardedheader supports the following case-insensitive parameters separated by a semicolon (and optional space):for,by,protoandhostIt does not support just a plain IP address as the code currently accepts.
Each of those parameters can be a comma separated list.
The RFC is pretty straight forward. You've created a very helpful module here and it would be very nice to have support for that header with it!