-
Bug
-
Resolution: Done
-
Major
-
2.0.21.Final
-
Workaround Exists
-
HttpServletRequest getLocalName() returns IP instead of hostname
If I deploy the below sample code on EAP 7.x
protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException { System.out.println(request.getLocalName()); System.out.println(request.getClass()); }
Output on EAP 7
17:10:06,950 INFO [stdout] (default task-1) 10.65.193.93 17:10:06,950 INFO [stdout] (default task-1) class io.undertow.servlet.spec.HttpServletRequestImpl
IP address instead of hostname
- is cloned by
-
JBEAP-17104 [GSS](7.2.z) UNDERTOW-1569 - HttpServletRequest getLocalName() returns IP instead of hostname
- Closed
- is incorporated by
-
WFCORE-4552 Upgrade Undertow to 2.0.24.Final
- Closed