Closed masak64 closed 2 years ago
Sorry about that. I'm going to revert this change tonight and push up a new version. Will let you know shortly.
Breaks my app too.
same here
@pbojinov When this is going to be resolved? Thanks!
PR for fixing this issue: https://github.com/pbojinov/request-ip/pull/61
This breaks our app too!
cc @ss-sarak
Using 2.1.3 version will solve the problem!
Fixed in version 3.0.1, just pushed it up on npm registry
in commit https://github.com/pbojinov/request-ip/commit/89d7ff4c994f50aee13bef075f37f90ed30c95d5 change extract last ip from
x-forwarded-for
, bud client ip is first, spec: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/X-Forwarded-For. For me this broke my app.