lundi 2 janvier 2017

Ember - Query params ignoring "=" character

I have a query param "token" whose value includes "=" sometimes, but ember seems to ignore that value. When the queryparams supplied are like

search?token=123=

This doesnt work and the value of token in ember comes as 123 only, whereas if I supply that as encoded i.e. as

search?token=123%3D

the value comes correctly as 123=

Does ember ignores the decoded format?

I have created a twidde http://ift.tt/2hMf58H where this can be reproduced. Please run the url as given above to see that.

Read a couple of posts with serializeQueryParams in route but doesn't seem to help.




Aucun commentaire:

Enregistrer un commentaire