koajs/koa

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

Aberta

#827 aberto em 4 de out. de 2016

 (12 comentários) (0 reação) (0 responsável)JavaScript (3.215 forks)batch import
help wanted

Métricas do repositório

Stars
 (35.713 estrelas)
Métricas de merge de PR
 (Mesclagem média 9h 19m) (2 fundiu PRs em 30d)

Description

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?

Guia do colaborador