Skip to content
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

Chars in strings being replaced with withespace #259

Open
eko234 opened this issue Sep 6, 2021 · 2 comments
Open

Chars in strings being replaced with withespace #259

eko234 opened this issue Sep 6, 2021 · 2 comments
Labels

Comments

@eko234
Copy link

eko234 commented Sep 6, 2021

I'm having an issue:

When I send data attached to the client peer, say i define a token field like

    let peer = new Peer(undefined, {...config, token: "this is a text to be decoded with this + sign in it"})

I can access that data in the server side, but the plus sign is replaced with whitespace.

@eko234
Copy link
Author

eko234 commented Sep 6, 2021

Aside from this issue, I think there should be some way to send data on client connection, maybe being able to send params on
the querystring or something.

@eko234
Copy link
Author

eko234 commented Oct 6, 2021

I think it has something to do with the way it is transported via http, I'm having a similar issue with other library and I gues it has something to do with the way urls are encoded, but I still think the documentation could improve to explain these cases or the api should allow a way to specify a valid way in the http protocol to transport user data or something.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants