spring-framework
spring-framework copied to clipboard
Spring Framework
__Version__: `org.springframework:spring-webflux:5.3.21` __Problem__: When I use `RenderingResponse.create("redirect:/controller").status(HttpStatus.FOUND).build()`, the response status is not modified (remains `303 See Other` no matter what). (`.status(something)` works fine on a non-redirect view: `RenderingResponse.create("template").status(something).build()`.) __Expected Behavior__:...
**Affects:** 5.3.21 --- When a multipart request contains a part with a quote or backslash in the `name` or `filename`, it should be escaped. `ContentDisposition` properly escapes them when building...
**Affects:** 5.x/current I have a Servlet filter that adds request headers via decorating request object (the only way allowed by Servlet API). ```java class AddHeaders extends HttpServletRequestWrapper { private Map...
- fix broken links (using their new URL, an alternative URL or a Wayback Machine link), - use HTTPS where possible, - remove https://issuetracker.springsource.com/browse/EBR-349 : this link is dead and...
Closes gh-28895
The intro of reference manual section [_1. Spring Web MVC_](https://docs.spring.io/spring-framework/docs/6.0.x/reference/html/web.html#mvc) states that: > For baseline information and compatibility with Servlet container and Jakarta EE version ranges, see the Spring Framework...
**Affects:** \ --- Below is the code : ``` final ThreadFactory threadFactory = new ThreadFactoryBuilder() .setNameFormat("XXX_THREAD") .setDaemon(true) .build(); // Intentionally 1 thread ScheduledThreadPoolExecutor scheduledExecutor = new ScheduledThreadPoolExecutor(1, threadFactory); scheduledExecutor.setContinueExistingPeriodicTasksAfterShutdownPolicy(false); scheduledExecutor.setExecuteExistingDelayedTasksAfterShutdownPolicy(false);...
This would be even tougher to spot the error if the `BeanPostProcessor` instance is from other libraries. 12:43:19.439 [main] WARN `org.springframework.context.annotation.AnnotationConfigApplicationContext` - Exception encountered during context initialization - cancelling refresh...
With this ticket I would like to re-open #27802 as I'm still experiencing the same issue with 6.0.0-M5 when the interface that is to be proxied resided in a different...
This PR adds `MockMvc.multipart()` Kotlin extensions with `HttpMethod` for methods added in #28545 and #28631.