Multipart: Invalid boundary with RestTemplate [SPR-17061] #21599
Labels
in: web
Issues in web modules (web, webmvc, webflux, websocket)
status: duplicate
A duplicate of another issue
Joe Amoros opened SPR-17061 and commented
Greetings!
I recently upgraded from 4.3.16 to 5.0.7. Everything is running smoothly except when trying to upload a file using the RestTemplate. This was working before the upgrade.
Client:
It seems that Apache (2.4.7) is intercepting the request with the following error:
Below is what the body and response looks like, I omitted the file body.
If I am doing something wrong any help would be greatly appreciated. I thought it was possible the boundary having ;charset after it, but I am not sure how to remove it. After two days I'm exhausted trying to figure this out.
Thank you!!
Affects: 5.0.7
Reference URL: https://stackoverflow.com/questions/51390193/upgrading-to-spring-5-broke-resttemplate-multipartfile-upload
Issue Links:
1 votes, 2 watchers
The text was updated successfully, but these errors were encountered: