-
Notifications
You must be signed in to change notification settings - Fork 38.7k
Closed
Labels
in: webIssues in web modules (web, webmvc, webflux, websocket)Issues in web modules (web, webmvc, webflux, websocket)type: regressionA bug that is also a regressionA bug that is also a regression
Milestone
Description
This is a regression in Spring Framework 6.2
:
@Test
public void mailToUrlIsExpandedProperly() {
DefaultUriBuilderFactory uriFactory = new DefaultUriBuilderFactory();
String mailToUri = "mailto:{to}?subject={subject}";
String to = "user@example.com";
String subject = "Test subject";
URI uri = uriFactory.expand(mailToUri, Map.of("to", to, "subject", subject));
assertThat(uri.toString()).isEqualTo("mailto:%s?subject=%s".formatted(to, subject));
}
The functionality comes from Spring WS with Mail and JMS transports: https://docs.spring.io/spring-ws/docs/current/reference/html/#_jms_transport_2.
So, same fails for ulrs like jms:{destination}?deliveryMode={deliveryMode}&priority={priority}
.
Metadata
Metadata
Assignees
Labels
in: webIssues in web modules (web, webmvc, webflux, websocket)Issues in web modules (web, webmvc, webflux, websocket)type: regressionA bug that is also a regressionA bug that is also a regression