Moved unquoting of slashes in url to after routing