-
Notifications
You must be signed in to change notification settings - Fork 225
Description
Describe the bug
I'm calling a REST API with some query parameters ([String : String]). The API call worked for months now. One value in the query is a string like "X;Y".
The server now receives only X and not the entire string.
I put this query dict in a RESTRequest that is simply passed to Amplify.API.get.
Any ideas what happened ? It might coincide with the update to 2.45.4 I did a few days ago.
PS: This suddenly became a huge issue, I realized I have values like this in 99% of the API calls. Having a ";" in any value in the query parameters, simply removes everything what's after the 1st semicolon.
I tried encoding it (%3B), not encoding it, nothing works. Amplify just kills it.
Steps To Reproduce
- Access any REST API call with Amplify that requires queryParameters and send a value with a semicolon somewhere in the middle.Expected behavior
The server should receive the entire string, not only what's before the semicolon.
Amplify Framework Version
2.45.4
Amplify Categories
API
Dependency manager
Swift PM