Source code
Revision control
Copy as Markdown
Other Tools
<!DOCTYPE html>
<meta charset=utf-8>
<title>valid data</title>
<object data="a:foo.com"></object><!-- scheme-private -->
<object data="foo:/"></object><!-- scheme-private-slash -->
<object data="foo://"></object><!-- scheme-private-slash-slash -->
<object data="foo:/bar.com/"></object><!-- scheme-private-path -->
<object data="c:/foo"></object><!-- scheme-private-single-letter -->
<object data="madeupscheme:/example.com/"></object><!-- scheme-private-single-slash -->
<object data="file:/example.com/"></object><!-- scheme-file-single-slash -->
<object data="ftps:/example.com/"></object><!-- scheme-ftps-single-slash -->
<object data="gopher:/example.com/"></object><!-- scheme-gopher-single-slash -->
<object data="ws:/example.com/"></object><!-- scheme-ws-single-slash -->
<object data="wss:/example.com/"></object><!-- scheme-wss-single-slash -->
<object data="javascript:/example.com/"></object><!-- scheme-javascript-single-slash -->
<object data="mailto:/example.com/"></object><!-- scheme-mailto-single-slash -->
<object data="madeupscheme:example.com/"></object><!-- scheme-private-no-slash -->
<object data="ftps:example.com/"></object><!-- scheme-ftps-no-slash -->
<object data="gopher:example.com/"></object><!-- scheme-gopher-no-slash -->
<object data="wss:example.com/"></object><!-- scheme-wss-no-slash -->
<object data="mailto:example.com/"></object><!-- scheme-mailto-no-slash -->
<object data="data:text/plain,foo"></object><!-- scheme-data-no-slash -->
<object data="http💩//:foo"></object><!-- path-contains-pile-of-poo -->
<object data="http://%25DOMAIN:foobar@foodomain.com"></object><!-- userinfo-username-contains-percent-encoded -->
<object data="//foo/bar"></object><!-- scheme-schemeless-relative -->
<object data="/"></object><!-- path-slash-only-relative -->
<object data="/a/b/c"></object><!-- path-simple-relative -->
<object data="/a%2fc"></object><!-- path-percent-encoded-slash-relative -->
<object data="/a/%2f/c"></object><!-- path-percent-encoded-slash-plus-slashes-relative -->
<object data="?"></object><!-- query-empty-no-path-relative -->
<object data="#"></object><!-- fragment-empty-hash-only-no-path-relative -->
<object data="#/"></object><!-- fragment-slash-relative -->
<object data="#;?"></object><!-- fragment-semicolon-question-mark-relative -->
<object data="#β"></object><!-- fragment-non-ascii-relative -->
<object data="foo.com"></object><!-- scheme-none-relative -->
<object data=":"></object><!-- path-colon-relative -->
<object data=":a"></object><!-- path-leading-colon-letter-relative -->
<object data=":foo.com"></object><!-- path-leading-colon-chars-relative -->
<object data=":/"></object><!-- path-leading-colon-slash-relative -->
<object data=":#"></object><!-- path-leading-colon-hash-relative -->
<object data=":23"></object><!-- path-leading-colon-number-relative -->
<object data="/:23"></object><!-- path-slash-colon-number-relative -->
<object data="::"></object><!-- path-leading-colon-colon-relative -->
<object data="::23"></object><!-- path-colon-colon-number-relative -->
<object data="/💩"></object><!-- path-slash-pile-of-poo -->
<object data="file:"></object><!-- scheme-file-scheme-only -->
<object data="file:/"></object><!-- scheme-file-slash-only -->
<object data="file://"></object><!-- scheme-file-slash-slash-only -->
<object data="file:test"></object><!-- scheme-file-no-slash -->