Remove support for a param with trailing text after a slash

Remove the escaping of a bracket after a slash.