CONTENT-2219 - Redirects and Replace These Characters not working correctly
Modified the error message when a custom URL has illegal characters