14

According to the spec for URL, can the scheme have an underscore? E.g., is web_view://example.com a valid URL?

1 Answer 1

36

No.

A valid RFC 3986 URL scheme must consist of "a letter and followed by any combination of letters, digits, plus ("+"), period ("."), or hyphen ("-")."

    scheme      = ALPHA *( ALPHA / DIGIT / "+" / "-" / "." )

Not the answer you're looking for? Browse other questions tagged or ask your own question.