Checking parameters in UriHelperGenerator.
Replace two or more slashes in uri.