Source code

Revision control

Copy as Markdown

Other Tools

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