millermedeiros / crossroads.js

JavaScript Routes
http://millermedeiros.github.com/crossroads.js/
1.44k stars 156 forks source link

Trailing slashes are appended to routes that have query params #156

Open ergo opened 7 years ago

ergo commented 7 years ago

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.

zhang356 commented 5 years ago

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