-
Notifications
You must be signed in to change notification settings - Fork 205
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
Query parameter is double encoded #59
Comments
ishkawa
added a commit
that referenced
this issue
Aug 18, 2015
Thank you for reporting! Could you check if this issue is fixed in @a3d9621? |
Thanks! It is fine for iOS. But unable to build for Mac since NSURLQueryItem needs OS X 10.10.
|
Ah, I've completely forgotten! This may be fixed in @d989ce8. |
Both the platform is Okay. Thank you for fixing. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
A query parameter with GET method is double encoded. It converts "あ" into "%25E3%2581%2582", it should be "%E3%81%82".
query
property of NSURLComponents will be encoded automatically when getting to complete NSURL. You can useNSURLComponents.percentEncodedQuery
or just use NSURLComponents and NSURLQueryItem for query encoding.The text was updated successfully, but these errors were encountered: