PinchProject / Node-GCMService

Node-GCMService
15 stars 10 forks source link

id returned after successful sending of message is not handling % symbol in the id #6

Open darthmarcos opened 10 years ago

darthmarcos commented 10 years ago

the ids I'm getting back from gcm appear to have % symbol in them which are then getting converted into some other character

it looks like the following line:

data = querystring.parse(data, '\n', '=');

in Sender.js is converting this id:

"id": "0:1390526055348872%f01ef39a6d1ff8f2"

into this id:

"id": "0:1390526110153868�1ef39a6d1ff8f2"

could be a bug in querystring?