You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
MockHttpServletRequest with Host: set builds wrong getRequestURL() [SPR-16138] #20686
MockHttpServletRequest has a serverName field, but the getter does additional logic around parsing the Host: header. This leads to inconsistency when getRequestURL reflects a different serverName than getServerName does.
Activity
spring-projects-issues commentedon Oct 31, 2017
Juergen Hoeller commented
Good point... I guess the same applies to
getServerPort()as well?spring-projects-issues commentedon Nov 5, 2017
Juergen Hoeller commented
I've addressed this as part of a larger revision along with #20708, also covering the server port case.
Retain brackets for IPV6 address in MockHttpServletRequest
Retain brackets for IPV6 address in MockHttpServletRequest
Retain brackets for IPV6 address in MockHttpServletRequest
Retain brackets for IPV6 address in MockHttpServletRequest
Retain brackets for IPV6 address in MockHttpServletRequest