cda opened SPR-16364 and commented
Test case:
UriComponents uri1 = UriComponentsBuilder.fromUriString( "http://test.com" ).build().normalize();
UriComponents uri2 = UriComponentsBuilder.fromUriString( "http://test.com/" ).build();
assert !uri1.equals( uri2 );
Throws:
java.lang.NullPointerException
at org.springframework.web.util.HierarchicalUriComponents$FullPathComponent.equals(HierarchicalUriComponents.java:700)
at org.springframework.web.util.HierarchicalUriComponents.equals(HierarchicalUriComponents.java:464)
...
Also, this code throws NullPointerException:
UriComponentsBuilder.fromUriString( "http://test.com" ).build().normalize().getPathSegments()
Affects: 4.3.12
Issue Links:
Referenced from: commits 93f6458, f68fdd4
cda opened SPR-16364 and commented
Test case:
Throws:
Also, this code throws NullPointerException:
Affects: 4.3.12
Issue Links:
Referenced from: commits 93f6458, f68fdd4