Skip to content

Parse X-Forwarded-For addresses from left to right

Cecylia Bocovich requested to merge cohosh/bridgedb:issue/40027 into main

This parses X-Forwarded-For addresses from left to right since with the domain fronting at moat we may have more than one external proxy address. getClientIP is also updated to skip not only loopback addresses but any non-valid address (such as private addresses) that may have been in the header.

Closes #40027 (closed)

Merge request reports