I don't think this is a good idea. This will cause issues with named parameters or querysting parameters that contain /.