Details
-
Bug
-
Resolution: Fixed
-
Major
-
3.2 M2
-
None
Description
ServletRequest.getLocalName usually resolves correctly to the server name, but the specification states that the returned value is the "host name of the Internet Protocol (IP) interface on which the request was received". The correct method to use is ServletRequest.getServerName, which always corresponds to the requested host.