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

queryParams: pluses aren't converted to spaces #10190

Closed
oriSomething opened this issue Jan 11, 2015 · 4 comments · Fixed by tildeio/route-recognizer#40 or #10268
Closed

queryParams: pluses aren't converted to spaces #10190

oriSomething opened this issue Jan 11, 2015 · 4 comments · Fixed by tildeio/route-recognizer#40 or #10268
Assignees
Labels

Comments

@oriSomething
Copy link

as you can see in this link:
http://uploads.orilivni.com/ember/query-params/

technically it's not a bug because there is no standard to what supposed to be encoded / decoded. but decodeURIComponent doesn't convert +s to spaces. so right now if i send a link through facebook i the receiver will get a link where %20 is converted to + and the link is broken.

the link is ember canary. but i had the same problem with version 1.9.1

thanks

@wagenet
Copy link
Member

wagenet commented Jan 21, 2015

Looks like this is fixed by tildeio/route-recognizer#40.

@jayphelps
Copy link
Contributor

@wagenet Can we keep this ticket open until this fix lands in ember.js/master? Since it requires that PR be merged, a version cut, a PR made for ember.js updating it and then it merged, I think it's important to have a record open.

@rwjblue
Copy link
Member

rwjblue commented Jan 22, 2015

Reopening until the dep is updated.

@meghasharma92
Copy link

I am facing the problem of conversion of space to + in queryParams..

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