May URL scheme contain an underscore?

后端 未结 1 1603
轮回少年
轮回少年 2021-02-14 16:22

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

相关标签:
1条回答
  • 2021-02-14 17:15

    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 / "+" / "-" / "." )
    
    0 讨论(0)
提交回复
热议问题