Sanitizes a base URL by removing trailing slashes and adding the protocol if missing.
The URL to validate.
The sanitized URL without the protocol.
Sanitizes a base URL by removing trailing slashes and adding the protocol if missing.
Throws