Skip to content

Conversation

whlit
Copy link
Contributor

@whlit whlit commented Apr 20, 2025

Fixes #34781

For repeated fields, the original method is to overwrite them instead of adding them to the original array.

@spring-projects-issues spring-projects-issues added the status: waiting-for-triage An issue we've not yet triaged or decided on label Apr 20, 2025
Signed-off-by: whl <whlit.cola@gmail.com>
@whlit whlit force-pushed the fix_format_duplicate_url_fields branch from ba95cb0 to 0ae1fd2 Compare April 20, 2025 06:12
@bclozel
Copy link
Member

bclozel commented Apr 20, 2025

@whlit could you add a unit test for that?

@whlit
Copy link
Contributor Author

whlit commented Apr 20, 2025

@whlit could you add a unit test for that?

OK, I'll add it

Signed-off-by: whl <whlit.cola@gmail.com>
@rstoyanchev rstoyanchev self-assigned this Apr 22, 2025
@rstoyanchev rstoyanchev added in: web Issues in web modules (web, webmvc, webflux, websocket) type: bug A general bug and removed status: waiting-for-triage An issue we've not yet triaged or decided on labels Apr 22, 2025
@rstoyanchev rstoyanchev added this to the 6.2.7 milestone Apr 22, 2025
@rstoyanchev rstoyanchev changed the title Fix uri format with duplicate fields. Correctly expand query param with same name from URI variables array Apr 22, 2025
@christophejan
Copy link
Contributor

Thank you very much @whlit @bclozel @rstoyanchev
Best regards

rstoyanchev pushed a commit that referenced this pull request Apr 23, 2025
See gh-34783

Signed-off-by: whl <whlit.cola@gmail.com>
@whlit whlit deleted the fix_format_duplicate_url_fields branch April 26, 2025 06:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
in: web Issues in web modules (web, webmvc, webflux, websocket) type: bug A general bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Unexpected URI variables handling when expanded into already existing query parameter name (UriComponentsBuilder)
5 participants