There is change in UriTemplate
between spring-web 6.2.x and 6.1.x.
Below urn template we are looking at urn:text:service-{region}:{prefix}/{id}
public void Test(){
final UriTemplate URN_TEMPLATE = new UriTemplate("urn:text:service-{region}:{prefix}/{id}");
System.out.println(URN_TEMPLATE.expand("US","prefix1", "Id-2").toString());
}
Output in 6.1.x version
urn:text:service-US:prefix1/Id-2
Output in 6.2.x version
urn:/text:service-US:prefix1/Id-2
Additional slash is added post urn:
Comment From: kula003
Hi team , Any update regarding this issue ?