pkyeck / socket.IO-objc

socket.io v0.7.2 — 0.9.x for iOS and OS X
MIT License
1.97k stars 439 forks source link

[FIX] URL Encode params handshake #214

Open yannickl opened 9 years ago

yannickl commented 9 years ago

Hi,

I found an issue when you send custom handshakes which contain special characters like the + (like dates with the GMT indicator). So here a patch to URL encode the keys and the values to avoid any probs.

Best,

Yannick