koajs/koa

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

Open

#827 创建于 2016年10月4日

在 GitHub 查看
 (12 评论) (0 反应) (0 负责人)JavaScript (3,215 fork)batch import
help wanted

仓库指标

Star
 (35,713 star)
PR 合并指标
 (平均合并 9小时 19分钟) (30 天内合并 2 个 PR)

描述

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?

贡献者指南