Spring Remove support for relative paths in static resource handling

Following thes updates to URL parsing in #33639, it's clear that with the WhatWg URL Living Standard spec, there is no g...

Spring Improve checks for relative paths in static resource handling

Going forward with #33687 we are going to drop support for relative paths entirely. For the current 6.1.x branch, we can...

Spring Add tests for CollectionUtils

Hello. There were methods in the CollectionUtils class that were missing unit tests.I added test code for below methods....

Spring Refactor duplicate code improvements

I separated them into common codes. This is good for code consistency.this is my first pull-request.I will be active in ...

Spring Add support for java.util.Optional to GenericHttpMessageConverter #24498

Fixes #24498Added unboxing of java.util.Optional to AbstractHttpMessageConverter and AbstractGenericHttpMessageConvert...

Spring Fix handling of headers in reactive HTTP requests to ensure case-insensivity

Fixes gh-33666Comment From: simonbasleThanks for the PR, but I'm already on it (as indicated by the issue being assigned...

Spring Fix CORS throwing 500 upon encountering a malformed URL #33682

Fix for 33682Also remove BeforeEach in CrossOriginTests because many tests do not need the "setup" step.Comment From: si...

Spring MultiValueMap<String, String> couldn't get the parameters.

In my Spring Boot project, I want to transmit data through application/x-www-form-urlencoded. I used @RequestParam(defau...

Spring Fix incorrect status code check in checkNotModified()

Updated the logic in checkNotModified() to check for HttpStatus.NOT_MODIFIED (304) instead of HttpStatus.OK (200). Remov...

Spring Drop RPC-style remoting: Hessian, HTTP Invoker, JMS Invoker, JAX-WS

Since most of our RPC-style remoting support has been officially and/or effectively deprecated for several years, let's ...

Spring Upcoming release of webjars-locator-lite

With the deprecation of support for webjars-locator-core in Spring Framework 6.2 (havent found a confirmation) and Sprin...

Spring Case-sensitive HttpHeaders with ReadOnlyHttpHeaders

Spring Cloud recently upgraded to boot 3.4.0-M1 and I came across an interesting regression. Spring Cloud Gateway has va...

Spring @MockitoBeanSettings is not inherited in @Nested test class

In the following example, the unnecessaryStub() test method in NestedTests should succeed since it should inherit the St...

Spring AOT fails when generating code for a component declared as an inner-class

Affects: 6.2.0-SNAPSHOTThis appears to be a regression from 6.2.0-RC1.Compilation of AOT-generated code fails for this a...

Spring @MockitoBean reset and MockitoSession management do not work with @Nested tests

Affects: 6.2.0-SNAPSHOTThe following reproduces the problem:package com.example;import org.junit.jupiter.api.Nested;impo...

Spring Type-based bean name resolution with fallback matching for incomplete generics

With reference to https://github.com/spring-projects/spring-boot/issues/40234#issuecomment-2051457742, it would be very ...

Spring Document TestExecutionListener implementations introduced in 6.2

OverviewThe TestExecutionListener implementations listed under Deliverables have been introduced in Spring Framework 6.2...

Spring Please check usage of ResourceAccessException vs. RestClientException wrapping IOException in DefaultRestClient

Affects: spring web 6.1.11it's not really clear when a ResourceAccessException (wrapping an IOException) or its base cla...

Spring Provide GSON-based Encoder/Decoder

Affects: 5.3.6 (coming from Spring Boot 2.4.5)Requirement: Provide GSON-base Encoder/Decoder by analogy with Jackson2Jso...

Spring Add value attribute alias to @MockitoBean and @MockitoSpyBean

@TestBean currently supports name and value aliases; however, @MockitoBean and @MockitoSpyBean only support a name attri...
上一页 下一页
.