koajs/koa

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

Open

#827 geöffnet am 4. Okt. 2016

Auf GitHub ansehen
 (12 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)JavaScript (35.713 Stars) (3.215 Forks)batch import
help wanted

Beschreibung

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?

Contributor Guide