request.ip via x-forwarded-for should strip out ports
Author: jonathanongCreated Oct 4, 2016Updated May 27, 2025
Labelshelp wanted
on azure (yes, i know), ports are also being sent as well as the ip in x-forwarded-for:
'x-forwarded-for': '23.243.1.1:38242'request.ip should not return the port section. aye or nay?
Source: koajs/koa