mirror of
https://github.com/spring-projects/spring-framework.git
synced 2026-10-05 14:40:04 +00:00
Include only path in <spring:mvcUrl>
Issue: SPR-13045
This commit is contained in:
+1
-1
@@ -312,7 +312,7 @@ public class MvcUriComponentsBuilderTests {
|
||||
|
||||
String mappingName = "PAC#getAddressesForCountry";
|
||||
String url = MvcUriComponentsBuilder.fromMappingName(mappingName).arg(0, "DE").buildAndExpand(123);
|
||||
assertEquals("http://example.org:9999/base/people/123/addresses/DE", url);
|
||||
assertEquals("/base/people/123/addresses/DE", url);
|
||||
}
|
||||
|
||||
@Test
|
||||
|
||||
Reference in New Issue
Block a user