Skip to content

Fixing url encoding for connect params #361

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

Merged
merged 2 commits into from
May 4, 2016

Conversation

yannickl
Copy link
Contributor

@yannickl yannickl commented May 4, 2016

Hi,

I just updated my library from v4.x to v6.x and you re-introduce an issue with the connect params url encoding.

So here is my patch.

Best

@nuclearace
Copy link
Member

What kind of connect params cause it to mess up? Because it looks to me that the query is being escaped

@nuclearace
Copy link
Member

Nvm I see.

@nuclearace nuclearace merged commit 84cb635 into socketio:development May 4, 2016
yannickl added a commit to yannickl/socket.io-client-swift that referenced this pull request May 4, 2016
@yannickl
Copy link
Contributor Author

yannickl commented May 4, 2016

Sorry I was out, I just added a test case to check that.

The problem can occur when you pass a serialised date for example:

[
    "created": "2016-05-04T18:31:15+0200"
]

Thank you for the merge. 👍

nuclearace added a commit that referenced this pull request May 4, 2016
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.

2 participants