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