Removes slashes in URL parameters as this confuses the router