UriComponentsBuilder does not treat a URN as opaque if it contains a slash #34588
Labels
in: web
Issues in web modules (web, webmvc, webflux, websocket)
type: regression
A bug that is also a regression
Milestone
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}
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:
The text was updated successfully, but these errors were encountered: