Skip to content

Fixed CRHTTPConnection query URL parsing#71

Open
itsjunetime wants to merge 1 commit intothecatalinstan:masterfrom
itsjunetime:query_url_fix
Open

Fixed CRHTTPConnection query URL parsing#71
itsjunetime wants to merge 1 commit intothecatalinstan:masterfrom
itsjunetime:query_url_fix

Conversation

@itsjunetime
Copy link
Copy Markdown

In CRHTTPConnection.m, the query URL that is being constructed from the HTTP data isn't being percent encoded. This means that if it includes some special characters such as backticks or carets, the NSURL that is constructed will be nil, and the server won't be able to correctly handle the request.

This PR simply adds percent encoding so that it correctly sets the URL, and services the request as expected.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant