-
Notifications
You must be signed in to change notification settings - Fork 14
Incorrect handling of URL Parameters #20
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Related to this, in |
This is fixed in #22 - Can you merge this? It's a big roadblock for us currently, forcing us to package our own fork of this library to NuGet so we can use the changes and make progress with our feature releases |
PR is included in released version 1.17.1 of the client. |
@synedra This has been fixed, and can be closed. |
I'm trying to call
IFusionAuthAsyncClient.SearchUsersByIdsAsync(List<string> ids)
but if say i give the id's a list containing:["1a4a9247-2b9d-45d2-ae1e-4714756b5a58","5a1505df-677e-44e3-9c09-d858087eac7b"]
This results in an exception:
In FusionAuth, there is a very unhelpful error message which doesnt tell me much about the issue:
java.lang.IllegalArgumentException: Invalid character found in the request target. The valid characters are defined in RFC 7230 and RFC 3986
Eventually, i find in our Nginx-Ingress-Controller logs, the request that was actually made:
Here you can see the ids parameter has been serialized incorrectly. According to the API documentation at https://fusionauth.io/docs/v1/tech/apis/users#search-for-users
this should be serialised as so:
ids=1a4a9247-2b9d-45d2-ae1e-4714756b5a58&ids=5a1505df-677e-44e3-9c09-d858087eac7b
The text was updated successfully, but these errors were encountered: