crossroads.js icon indicating copy to clipboard operation
crossroads.js copied to clipboard

Trailing slashes are appended to routes that have query params

Open ergo opened this issue 8 years ago • 1 comments

Route in form of:

/{foo}{?query}
/{foo}:?query:

Would end up being interpolated as /foo/?params which is unexpected to happen because trailing slash carries meaning for REST servers.

ergo avatar Dec 13 '16 01:12 ergo

Hi, is this merged in? I installed the latest crossroads.js using NPM, it doesn't seem to have this change in it

zhang356 avatar Nov 30 '18 02:11 zhang356