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