Fixed bug where a slash in a route works on OSX, but not on Linux