You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I ran into an issue where I needed to send arrays in query strings but encoded in a different style than is common in PHP. Example: first=value&arr=foo+bar&arr=baz.
However, since Unirest is rebuilding the Url before sending the request, the query string is rewritten and only one of the values of the array "arr" is kept.
I am attaching the line which seems to be the cause of this issue.
I ran into an issue where I needed to send arrays in query strings but encoded in a different style than is common in PHP. Example:
first=value&arr=foo+bar&arr=baz
.However, since Unirest is rebuilding the Url before sending the request, the query string is rewritten and only one of the values of the array "arr" is kept.
I am attaching the line which seems to be the cause of this issue.
unirest-php/src/Unirest/Request.php
Line 555 in 14aa9aa
Is there a workaround or a fix for this?
The text was updated successfully, but these errors were encountered: