Closed ghost closed 7 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.
/users/:id/:action
encodeURIComponent
%20
This is already done in https://github.com/RasCarlito/url-composer so no need for it in backbone-highway
When injecting parameters into the a url, e.g.
/users/:id/:action
, the contents of each parameter should be encoded usingencodeURIComponent
. This will permit specific characters to be converted, for example, converting spaces to%20
.