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://f:00000000000000000000080/c"><!-- port-00000000000000000000080 -->
<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/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💩//: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://%25DOMAIN:foobar@foodomain.com"><!-- userinfo-username-contains-percent-encoded -->
<meta http-equiv=refresh content="0; URL=http://a:@www.example.com"><!-- userinfo-password-empty -->
<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=/💩"><!-- path-slash-pile-of-poo -->
<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:test"><!-- scheme-file-no-slash -->