tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

itemid-isvalid.html (9199B)


      1 <!DOCTYPE html>
      2 <meta charset=utf-8>
      3 <title>valid itemid</title>
      4 <div itemid="a:foo.com" itemtype="http://foo" itemscope></div><!-- scheme-private -->
      5 <div itemid="foo:/" itemtype="http://foo" itemscope></div><!-- scheme-private-slash -->
      6 <div itemid="foo://" itemtype="http://foo" itemscope></div><!-- scheme-private-slash-slash -->
      7 <div itemid="foo:/bar.com/" itemtype="http://foo" itemscope></div><!-- scheme-private-path -->
      8 <div itemid="foo://///////" itemtype="http://foo" itemscope></div><!-- scheme-private-path-leading-slashes-only -->
      9 <div itemid="foo://///////bar.com/" itemtype="http://foo" itemscope></div><!-- scheme-private-path-leading-slashes-chars -->
     10 <div itemid="foo:////://///" itemtype="http://foo" itemscope></div><!-- scheme-private-path-leading-slashes-colon-slashes -->
     11 <div itemid="c:/foo" itemtype="http://foo" itemscope></div><!-- scheme-private-single-letter -->
     12 <div itemid="madeupscheme:/example.com/" itemtype="http://foo" itemscope></div><!-- scheme-private-single-slash -->
     13 <div itemid="file:/example.com/" itemtype="http://foo" itemscope></div><!-- scheme-file-single-slash -->
     14 <div itemid="ftps:/example.com/" itemtype="http://foo" itemscope></div><!-- scheme-ftps-single-slash -->
     15 <div itemid="gopher:/example.com/" itemtype="http://foo" itemscope></div><!-- scheme-gopher-single-slash -->
     16 <div itemid="ws:/example.com/" itemtype="http://foo" itemscope></div><!-- scheme-ws-single-slash -->
     17 <div itemid="wss:/example.com/" itemtype="http://foo" itemscope></div><!-- scheme-wss-single-slash -->
     18 <div itemid="javascript:/example.com/" itemtype="http://foo" itemscope></div><!-- scheme-javascript-single-slash -->
     19 <div itemid="mailto:/example.com/" itemtype="http://foo" itemscope></div><!-- scheme-mailto-single-slash -->
     20 <div itemid="madeupscheme:example.com/" itemtype="http://foo" itemscope></div><!-- scheme-private-no-slash -->
     21 <div itemid="ftps:example.com/" itemtype="http://foo" itemscope></div><!-- scheme-ftps-no-slash -->
     22 <div itemid="gopher:example.com/" itemtype="http://foo" itemscope></div><!-- scheme-gopher-no-slash -->
     23 <div itemid="wss:example.com/" itemtype="http://foo" itemscope></div><!-- scheme-wss-no-slash -->
     24 <div itemid="mailto:example.com/" itemtype="http://foo" itemscope></div><!-- scheme-mailto-no-slash -->
     25 <div itemid="data:text/plain,foo" itemtype="http://foo" itemscope></div><!-- scheme-data-no-slash -->
     26 <div itemid="http://user:pass@foo:21/bar;par?b#c" itemtype="http://foo" itemscope></div><!-- userinfo -->
     27 <div itemid="http://[2001::1]" itemtype="http://foo" itemscope></div><!-- host-ipv6 -->
     28 <div itemid="http://[2001::1]:80" itemtype="http://foo" itemscope></div><!-- host-ipv6-port -->
     29 <div itemid="http://f:/c" itemtype="http://foo" itemscope></div><!-- port-none-but-colon -->
     30 <div itemid="http://f:0/c" itemtype="http://foo" itemscope></div><!-- port-0 -->
     31 <div itemid="http://f:00000000000000/c" itemtype="http://foo" itemscope></div><!-- port-00000000000000 -->
     32 <div itemid="http://f:00000000000000000000080/c" itemtype="http://foo" itemscope></div><!-- port-00000000000000000000080 -->
     33 <div itemid="http://a:b@c:29/d" itemtype="http://foo" itemscope></div><!-- userinfo-host-port-path -->
     34 <div itemid="http://foo.com:b@d/" itemtype="http://foo" itemscope></div><!-- userinfo-username-non-alpha -->
     35 <div itemid="http://foo/abcd?efgh?ijkl" itemtype="http://foo" itemscope></div><!-- query-contains-question-mark -->
     36 <div itemid="http://foo/abcd#foo?bar" itemtype="http://foo" itemscope></div><!-- fragment-contains-question-mark -->
     37 <div itemid="http://example.com/foo/%2e" itemtype="http://foo" itemscope></div><!-- path-percent-encoded-dot -->
     38 <div itemid="http://example.com/%20foo" itemtype="http://foo" itemscope></div><!-- path-percent-encoded-space -->
     39 <div itemid="http://example.com/©zbar" itemtype="http://foo" itemscope></div><!-- path-non-ascii -->
     40 <div itemid="http://example.com/foo%41%7a" itemtype="http://foo" itemscope></div><!-- path-percent-encoded-multiple -->
     41 <div itemid="http://example.com/foo%91" itemtype="http://foo" itemscope></div><!-- path-percent-encoded-u0091 -->
     42 <div itemid="http://example.com/foo%00" itemtype="http://foo" itemscope></div><!-- path-percent-encoded-u0000 -->
     43 <div itemid="http://example.com/%3A%3a%3C%3c" itemtype="http://foo" itemscope></div><!-- path-percent-encoded-mixed-case -->
     44 <div itemid="http://example.com/你好你好" itemtype="http://foo" itemscope></div><!-- path-unicode-han -->
     45 <div itemid="http://example.com//foo" itemtype="http://foo" itemscope></div><!-- path-uFEFF -->
     46 <div itemid="http://example.com/‮/foo/‭/bar" itemtype="http://foo" itemscope></div><!-- path-u202E-u202D -->
     47 <div itemid="http://💩" itemtype="http://foo" itemscope></div><!-- host-is-pile-of-poo -->
     48 <div itemid="http💩//:foo" itemtype="http://foo" itemscope></div><!-- path-contains-pile-of-poo -->
     49 <div itemid="http://example.com/foo?💩" itemtype="http://foo" itemscope></div><!-- query-contains-pile-of-poo -->
     50 <div itemid="http://example.com/foo#💩" itemtype="http://foo" itemscope></div><!-- fragment-contains-pile-of-poo -->
     51 <div itemid="http://192.0x00A80001" itemtype="http://foo" itemscope></div><!-- host-192.0x00A80001 -->
     52 <div itemid="http://%25DOMAIN:foobar@foodomain.com" itemtype="http://foo" itemscope></div><!-- userinfo-username-contains-percent-encoded -->
     53 <div itemid="http://@www.example.com" itemtype="http://foo" itemscope></div><!-- userinfo-empty -->
     54 <div itemid="http://:b@www.example.com" itemtype="http://foo" itemscope></div><!-- userinfo-user-empty -->
     55 <div itemid="http://a:@www.example.com" itemtype="http://foo" itemscope></div><!-- userinfo-password-empty -->
     56 <div itemid="http://GOO​⁠goo.com" itemtype="http://foo" itemscope></div><!-- host-exotic-whitespace -->
     57 <div itemid="http://www.foo。bar.com" itemtype="http://foo" itemscope></div><!-- host-exotic-dot -->
     58 <div itemid="http://Go.com" itemtype="http://foo" itemscope></div><!-- host-fullwidth -->
     59 <div itemid="http://你好你好" itemtype="http://foo" itemscope></div><!-- host-idn-unicode-han -->
     60 <div itemid="http://192.168.0.257/" itemtype="http://foo" itemscope></div><!-- host-IP-address-broken -->
     61 <div itemid="//foo/bar" itemtype="http://foo" itemscope></div><!-- scheme-schemeless-relative -->
     62 <div itemid="/" itemtype="http://foo" itemscope></div><!-- path-slash-only-relative -->
     63 <div itemid="/a/b/c" itemtype="http://foo" itemscope></div><!-- path-simple-relative -->
     64 <div itemid="/a%2fc" itemtype="http://foo" itemscope></div><!-- path-percent-encoded-slash-relative -->
     65 <div itemid="/a/%2f/c" itemtype="http://foo" itemscope></div><!-- path-percent-encoded-slash-plus-slashes-relative -->
     66 <div itemid="?" itemtype="http://foo" itemscope></div><!-- query-empty-no-path-relative -->
     67 <div itemid="#" itemtype="http://foo" itemscope></div><!-- fragment-empty-hash-only-no-path-relative -->
     68 <div itemid="#/" itemtype="http://foo" itemscope></div><!-- fragment-slash-relative -->
     69 <div itemid="#;?" itemtype="http://foo" itemscope></div><!-- fragment-semicolon-question-mark-relative -->
     70 <div itemid="#β" itemtype="http://foo" itemscope></div><!-- fragment-non-ascii-relative -->
     71 <div itemid="foo.com" itemtype="http://foo" itemscope></div><!-- scheme-none-relative -->
     72 <div itemid=":" itemtype="http://foo" itemscope></div><!-- path-colon-relative -->
     73 <div itemid=":a" itemtype="http://foo" itemscope></div><!-- path-leading-colon-letter-relative -->
     74 <div itemid=":foo.com" itemtype="http://foo" itemscope></div><!-- path-leading-colon-chars-relative -->
     75 <div itemid=":/" itemtype="http://foo" itemscope></div><!-- path-leading-colon-slash-relative -->
     76 <div itemid=":#" itemtype="http://foo" itemscope></div><!-- path-leading-colon-hash-relative -->
     77 <div itemid=":23" itemtype="http://foo" itemscope></div><!-- path-leading-colon-number-relative -->
     78 <div itemid="/:23" itemtype="http://foo" itemscope></div><!-- path-slash-colon-number-relative -->
     79 <div itemid="::" itemtype="http://foo" itemscope></div><!-- path-leading-colon-colon-relative -->
     80 <div itemid="::23" itemtype="http://foo" itemscope></div><!-- path-colon-colon-number-relative -->
     81 <div itemid="💩http://foo" itemtype="http://foo" itemscope></div><!-- path-starts-with-pile-of-poo -->
     82 <div itemid="/💩" itemtype="http://foo" itemscope></div><!-- path-slash-pile-of-poo -->
     83 <div itemid="File://foo/bar.html" itemtype="http://foo" itemscope></div><!-- scheme-file-uppercase -->
     84 <div itemid="file://C|/foo/bar" itemtype="http://foo" itemscope></div><!-- scheme-file-slash-slash-c-bar -->
     85 <div itemid="file://server/foo/bar" itemtype="http://foo" itemscope></div><!-- scheme-file-host-included -->
     86 <div itemid="file:///foo/bar.txt" itemtype="http://foo" itemscope></div><!-- scheme-file-host-empty -->
     87 <div itemid="file:" itemtype="http://foo" itemscope></div><!-- scheme-file-scheme-only -->
     88 <div itemid="file:/" itemtype="http://foo" itemscope></div><!-- scheme-file-slash-only -->
     89 <div itemid="file://" itemtype="http://foo" itemscope></div><!-- scheme-file-slash-slash-only -->
     90 <div itemid="file:///" itemtype="http://foo" itemscope></div><!-- scheme-file-slash-slash-slash-only -->
     91 <div itemid="file:test" itemtype="http://foo" itemscope></div><!-- scheme-file-no-slash -->