Skip to content

GH-11235: Restore URL-encoded form conversion - #11236

Open
DragonFSKY wants to merge 1 commit into
spring-projects:mainfrom
DragonFSKY:GH-11235
Open

GH-11235: Restore URL-encoded form conversion#11236
DragonFSKY wants to merge 1 commit into
spring-projects:mainfrom
DragonFSKY:GH-11235

Conversation

@DragonFSKY

Copy link
Copy Markdown
Contributor

Fixes: #11235

Spring Framework 7.1 split URL-encoded form and multipart conversion into separate converters. MultipartAwareFormHttpMessageConverter still advertised support for URL-encoded forms, but delegated their reads to the multipart-only converter, causing requests without a multipart boundary to fail.

This change routes URL-encoded data through FormHttpMessageConverter while retaining the existing multipart handling and MultipartFileReader support. It also re-enables the proxy flow regression test using the public MockMvcClientHttpRequestFactory and adds focused converter coverage for read/write routing, charset, repeated values, and multipart behavior.

Validation:

  • ./gradlew :spring-integration-http:check
  • Focused proxy and multipart regression tests

A full ./gradlew clean test was also attempted. The HTTP module passed; the overall run encountered environment-dependent failures in unrelated IP tests and Redis, MQTT, and MySQL Testcontainers.

Route URL-encoded form data through FormHttpMessageConverter while retaining multipart handling and MultipartFileReader support.

Fixes: spring-projectsgh-11235
Signed-off-by: Dongliang Xie <dragonfsky@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Investigate flaky/failing HttpDslTests.testHttpProxyFlow()

1 participant