Backbone keeps decoding my query string params. For example when I do
var query_string = encodeURIComponent('New York')
Backbone.history.navigate('search?location='+query_string, {trigger: true})
I get an URL with path:
/#search?location=New York
instead of
/#search?location=New%20York
I'm not using pushState and I've read that in 1.0.0 version he decodes the fragment in the URL. So any suggestions how can I achieve this, or something similar maybe?