https://bz.apache.org/bugzilla/show_bug.cgi?id=64634

            Bug ID: 64634
           Summary: RemoteIpValve support x-forwarded-for header with port
                    (Azure)
           Product: Tomcat 9
           Version: 9.0.x
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: Catalina
          Assignee: dev@tomcat.apache.org
          Reporter: cst...@ephibian.com
  Target Milestone: -----

I attempted to enable the RemoteIpValve for a server hosted in Azure behind an
ApplicationGateway. The ApplicationGateway creates an x-forwarded-for header
value as <ip>:<port> instead of just <ip>. The RemoteIpValve can't parse this,
so it fails to work. 

It is not super clear to me if this is an abuse of the x-forwarded-for spec by
Azure or not. But it would be nice if RemoteIpValve could be enhanced to
support this.

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to