d4f / backbone-highway

Routing Backbone with style \o/
MIT License
19 stars 5 forks source link

Encode uri components ? #20

Closed ghost closed 7 years ago

ghost commented 8 years ago

When injecting parameters into the a url, e.g. /users/:id/:action, the contents of each parameter should be encoded using encodeURIComponent. This will permit specific characters to be converted, for example, converting spaces to %20.

ghost commented 7 years ago

This is already done in https://github.com/RasCarlito/url-composer so no need for it in backbone-highway