koajs/koa

request.ip via x-forwarded-for should strip out ports

Open

#827 aperta il 4 ott 2016

Vedi su GitHub
 (12 commenti) (0 reazioni) (0 assegnatari)JavaScript (3215 fork)batch import
help wanted

Metriche repository

Star
 (35.713 star)
Metriche merge PR
 (Merge medio 53g 12h) (11 PR mergiate in 30 g)

Descrizione

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?

Guida contributor