blob: 0f4f7391fd53f1c740259f6f2ded4dea9f59ba04 [file] [log] [blame]
<!DOCTYPE html>
<meta charset=utf-8>
<title>valid cite</title>
<q cite="file:///"></q><!-- scheme-file-slash-slash-slash-only -->
<q cite="http://a:@www.example.com"></q><!-- userinfo-password-empty -->
<q cite="foo://///////"></q><!-- scheme-private-path-leading-slashes-only -->
<q cite="file://abc|/foo/bar"></q><!-- scheme-file-slash-slash-abc-bar -->
<q cite="/a/b/c"></q><!-- path-simple-relative -->
<q cite="http://example.com/你好你好"></q><!-- path-unicode-han -->
<q cite="/a/%2f/c"></q><!-- path-percent-encoded-slash-plus-slashes-relative -->
<q cite="http://f:/c"></q><!-- port-none-but-colon -->
<q cite="http://example.com/foo%41%7a"></q><!-- path-percent-encoded-multiple -->
<q cite="http://192.168.0.257/"></q><!-- host-IP-address-broken -->
<q cite="madeupscheme:example.com/"></q><!-- scheme-private-no-slash -->
<q cite="?"></q><!-- query-empty-no-path-relative -->
<q cite="http://example.com/%20foo"></q><!-- path-percent-encoded-space -->
<q cite="mailto:/example.com/"></q><!-- scheme-mailto-single-slash -->
<q cite="::"></q><!-- path-leading-colon-colon-relative -->
<q cite="http://example.com/%3A%3a%3C%3c"></q><!-- path-percent-encoded-mixed-case -->
<q cite="http://user:pass@foo:21/bar;par?b#c"></q><!-- userinfo -->
<q cite="ws:/example.com/"></q><!-- scheme-ws-single-slash -->
<q cite="foo://"></q><!-- scheme-private-slash-slash -->
<q cite="#"></q><!-- fragment-empty-hash-only-no-path-relative -->
<q cite="http://f:00000000000000/c"></q><!-- port-00000000000000 -->
<q cite="foo:////://///"></q><!-- scheme-private-path-leading-slashes-colon-slashes -->
<q cite=":23"></q><!-- path-leading-colon-number-relative -->
<q cite="foo:/"></q><!-- scheme-private-slash -->
<q cite="http://💩"></q><!-- host-is-pile-of-poo -->
<q cite="file:test"></q><!-- scheme-file-no-slash -->
<q cite="file://C|/foo/bar"></q><!-- scheme-file-slash-slash-c-bar -->
<q cite="#/"></q><!-- fragment-slash-relative -->
<q cite="http://192.0x00A80001"></q><!-- host-192.0x00A80001 -->
<q cite="foo.com"></q><!-- scheme-none-relative -->
<q cite="http💩//:foo"></q><!-- path-contains-pile-of-poo -->
<q cite="File://foo/bar.html"></q><!-- scheme-file-uppercase -->
<q cite=":/"></q><!-- path-leading-colon-slash-relative -->
<q cite="http://www.foo。bar.com"></q><!-- host-exotic-dot -->
<q cite="http://GOO​⁠goo.com"></q><!-- host-exotic-whitespace -->
<q cite="file:///foo/bar.txt"></q><!-- scheme-file-host-empty -->
<q cite="javascript:/example.com/"></q><!-- scheme-javascript-single-slash -->
<q cite="gopher:/example.com/"></q><!-- scheme-gopher-single-slash -->
<q cite="ftps:example.com/"></q><!-- scheme-ftps-no-slash -->
<q cite="file://server/foo/bar"></q><!-- scheme-file-host-included -->
<q cite="http://example.com/foo%00"></q><!-- path-percent-encoded-u0000 -->
<q cite="a:foo.com"></q><!-- scheme-private -->
<q cite=":"></q><!-- path-colon-relative -->
<q cite="http://:b@www.example.com"></q><!-- userinfo-user-empty -->
<q cite="file:/"></q><!-- scheme-file-slash-only -->
<q cite="wss:example.com/"></q><!-- scheme-wss-no-slash -->
<q cite="::23"></q><!-- path-colon-colon-number-relative -->
<q cite="/a%2fc"></q><!-- path-percent-encoded-slash-relative -->
<q cite="http://a:b@c:29/d"></q><!-- userinfo-host-port-path -->
<q cite="gopher:example.com/"></q><!-- scheme-gopher-no-slash -->
<q cite="madeupscheme:/example.com/"></q><!-- scheme-private-single-slash -->
<q cite="mailto:example.com/"></q><!-- scheme-mailto-no-slash -->
<q cite="http://%25DOMAIN:foobar@foodomain.com"></q><!-- userinfo-username-contains-percent-encoded -->
<q cite="/:23"></q><!-- path-slash-colon-number-relative -->
<q cite="foo://///////bar.com/"></q><!-- scheme-private-path-leading-slashes-chars -->
<q cite="http://[2001::1]:80"></q><!-- host-ipv6-port -->
<q cite="data:text/plain,foo"></q><!-- scheme-data-no-slash -->
<q cite="http://example.com/foo/%2e"></q><!-- path-percent-encoded-dot -->
<q cite="file:/example.com/"></q><!-- scheme-file-single-slash -->
<q cite="http://example.com/©zbar"></q><!-- path-non-ascii -->
<q cite="http://example.com//foo"></q><!-- path-uFEFF -->
<q cite="wss:/example.com/"></q><!-- scheme-wss-single-slash -->
<q cite="http://foo/abcd#foo?bar"></q><!-- fragment-contains-question-mark -->
<q cite=":#"></q><!-- path-leading-colon-hash-relative -->
<q cite="http://example.com/foo%91"></q><!-- path-percent-encoded-u0091 -->
<q cite="c:/foo"></q><!-- scheme-private-single-letter -->
<q cite=":foo.com"></q><!-- path-leading-colon-chars-relative -->
<q cite="http://你好你好"></q><!-- host-idn-unicode-han -->
<q cite="http://example.com/foo#💩"></q><!-- fragment-contains-pile-of-poo -->
<q cite="file:"></q><!-- scheme-file-scheme-only -->
<q cite="#β"></q><!-- fragment-non-ascii-relative -->
<q cite="foo:/bar.com/"></q><!-- scheme-private-path -->
<q cite="http://f:0/c"></q><!-- port-0 -->
<q cite="#;?"></q><!-- fragment-semicolon-question-mark-relative -->
<q cite="http://Go.com"></q><!-- host-fullwidth -->
<q cite="http://@www.example.com"></q><!-- userinfo-empty -->
<q cite="http://example.com/‮/foo/‭/bar"></q><!-- path-u202E-u202D -->
<q cite="http://[2001::1]"></q><!-- host-ipv6 -->
<q cite="💩http://foo"></q><!-- path-starts-with-pile-of-poo -->
<q cite="http://foo/abcd?efgh?ijkl"></q><!-- query-contains-question-mark -->
<q cite="//foo/bar"></q><!-- scheme-schemeless-relative -->
<q cite="ftps:/example.com/"></q><!-- scheme-ftps-single-slash -->
<q cite="http://foo.com:b@d/"></q><!-- userinfo-username-non-alpha -->
<q cite=":a"></q><!-- path-leading-colon-letter-relative -->
<q cite="/"></q><!-- path-slash-only-relative -->
<q cite="http://example.com/foo?💩"></q><!-- query-contains-pile-of-poo -->
<q cite="http://f:00000000000000000000080/c"></q><!-- port-00000000000000000000080 -->
<q cite="file://"></q><!-- scheme-file-slash-slash-only -->