koajs/koa

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

開放

#827 建立於 2016年10月4日

 (12 則留言) (0 個反應) (0 位負責人)JavaScript (3,215 個分叉)batch import
help wanted

倉庫指標

星標
 (35,713 顆星)
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?

貢獻者指南