Skip to content

Instantly share code, notes, and snippets.

@elorz007
Last active May 27, 2021 14:32
Show Gist options
  • Save elorz007/8b2decb6d9c02ca3c18d07f5906a1306 to your computer and use it in GitHub Desktop.
Save elorz007/8b2decb6d9c02ca3c18d07f5906a1306 to your computer and use it in GitHub Desktop.
<!DOCTYPE html>
<html>
<head>
<title>Test links</title>
</head>
<body>
<section id="test-links">
<h1>1. a href file style 001</h1>
<a href="file://///host/folder/folder/file.ext">Link</a>
<code>&lt;a href=&quot;file://///host/folder/folder/file.ext&quot;&gt;Link&lt;/a&gt;</code>
<h1>2. a href file style 002</h1>
<a href="file://host/folder/folder/file.ext">Link</a>
<code>&lt;a href=&quot;file://host/folder/folder/file.ext&quot;&gt;Link&lt;/a&gt;</code>
<h1>3. a href file style 003</h1>
<a href="file:\\host\folder\folder\file.ext">Link</a>
<code>&lt;a href=&quot;file:\\host\folder\folder\file.ext&quot;&gt;Link&lt;/a&gt;</code>
<hr>
<h1>UC1. User case 1</h1>
<a href="File://webdav.example.de/DavWWWRoot/redacted/a-BC/AB-1/Urkundenüberprüfung/Urkundenüberprüfung+AB-123/SCHRIFTVERKEHR/Einleitung/Einleitungen_2021/Mai/AB+123.45+redacted,+redacted.doc">File://\\webdav.example.de\DavWWWRoot\redacted\a-BC\AB-1\Urkundenüberprüfung\Urkundenüberprüfung+AB-123\SCHRIFTVERKEHR\Einleitung\Einleitungen_2021\Mai\AB+123.45+redacted,+redacted.doc</a>
<code>&lt;a href=&quot;File://webdav.example.de/DavWWWRoot/redacted/a-BC/AB-1/Urkunden&uuml;berpr&uuml;fung/Urkunden&uuml;berpr&uuml;fung+AB-123/SCHRIFTVERKEHR/Einleitung/Einleitungen_2021/Mai/AB+123.45+redacted,+redacted.doc&quot;&gt;File://\\webdav.example.de\DavWWWRoot\redacted\a-BC\AB-1\Urkunden&uuml;berpr&uuml;fung\Urkunden&uuml;berpr&uuml;fung+AB-123\SCHRIFTVERKEHR\Einleitung\Einleitungen_2021\Mai\AB+123.45+redacted,+redacted.doc&lt;/a&gt;</code>
<h1>UC2. User case 2</h1>
<a href="file://webdav.example.de/DavWWWRoot/redacted/AB/a-123-4/Ressourcenplanung/Infos.txt">\\webdav.example.de\DavWWWRoot\redacted\AB\a-123-4\Ressourcenplanung\Infos.txt</a>
<code>&lt;a href=&quot;file://webdav.example.de/DavWWWRoot/redacted/AB/a-123-4/Ressourcenplanung/Infos.txt&quot;&gt;\\webdav.example.de\DavWWWRoot\redacted\AB\a-123-4\Ressourcenplanung\Infos.txt&lt;/a&gt;</code>
<h1>UC3. User case 3 (apparently not a UNC link)</h1>
<a href="https://webdav.example.de/redacted/123-4-5/redacted/redacted/Trouble%20Ticket%20des%20AB.doc">https://webdav.example.de/redacted/123-4-5/redacted/redacted/Trouble%20Ticket%20des%20AB.doc</a>
<code>&lt;a href=&quot;https://webdav.example.de/redacted/123-4-5/redacted/redacted/Trouble%20Ticket%20des%20AB.doc&quot;&gt;https://webdav.example.de/redacted/123-4-5/redacted/redacted/Trouble%20Ticket%20des%20AB.doc&lt;/a&gt;</code>
<h1>UC4. User case 4</h1>
<a href="File://webdav.example.de/redacted/123-4-5/redacted/redacted/screenshot%20redacted%20redacted.odt">File://///webdav.example.de/redacted/123-4-5/redacted/redacted/screenshot%20redacted%20redacted.odt</a>
<code>&lt;a href=&quot;File://webdav.example.de/redacted/123-4-5/redacted/redacted/screenshot%20redacted%20redacted.odt&quot;&gt;File://///webdav.example.de/redacted/123-4-5/redacted/redacted/screenshot%20redacted%20redacted.odt&lt;/a&gt;</code>
<hr>
<h1>4. a href style 001</h1>
<a href="/////host/folder/folder/file.ext">Link</a>
<code>&lt;a href=&quot;/////host/folder/folder/file.ext&quot;&gt;Link&lt;/a&gt;</code>
<h1>5. a href style 002</h1>
<a href="//host/folder/folder/file.ext">Link</a>
<code>&lt;a href=&quot;//host/folder/folder/file.ext&quot;&gt;Link&lt;/a&gt;</code>
<h1>6. a href style 003</h1>
<a href="\\host\folder\folder\file.ext">Link</a>
<code>&lt;a href=&quot;\\host\folder\folder\file.ext&quot;&gt;Link&lt;/a&gt;</code>
<h1>7. plain text style 001</h1>
<p>UNC /////host/folder/folder/file.ext in the middle</p>
<code>&lt;p&gt;UNC /////host/folder/folder/file.ext in the middle&lt;/p&gt;</code>
<h1>8. plain text style 002</h1>
<p>UNC //host/folder/folder/file.ext in the middle</p>
<code>&lt;p&gt;UNC //host/folder/folder/file.ext in the middle&lt;/p&gt;</code>
<h1>9. plain text style 003</h1>
<p>UNC \\host\folder\folder\file.ext in the middle</p>
<code>&lt;p&gt;UNC \\host\folder\folder\file.ext in the middle&lt;/p&gt;</code>
<h1>10. plain text only style 001</h1>
<p>/////host/folder/folder/file.ext</p>
<code>&lt;p&gt;/////host/folder/folder/file.ext&lt;/p&gt;</code>
<h1>11. plain text only style 002</h1>
<p>//host/folder/folder/file.ext</p>
<code>&lt;p&gt;//host/folder/folder/file.ext&lt;/p&gt;</code>
<h1>12. plain text style 003</h1>
<p>\\host\folder\folder\file.ext</p>
<code>&lt;p&gt;\\host\folder\folder\file.ext&lt;/p&gt;</code>
<h1>13. a href file and text style 001</h1>
<a href="file://///host/folder/folder/file.ext">file://///host/folder/folder/file.ext</a>
<code>&lt;a href=&quot;file://///host/folder/folder/file.ext&quot;&gt;file://///host/folder/folder/file.ext&lt;/a&gt;</code>
<h1>14. a href file and text style 002</h1>
<a href="file://host/folder/folder/file.ext">file://host/folder/folder/file.ext</a>
<code>&lt;a href=&quot;file://host/folder/folder/file.ext&quot;&gt;file://host/folder/folder/file.ext&lt;/a&gt;</code>
<h1>15. a href file and text style 003</h1>
<a href="file:\\host\folder\folder\file.ext">file:\\host\folder\folder\file.ext</a>
<code>&lt;a href=&quot;file:\\host\folder\folder\file.ext&quot;&gt;file:\\host\folder\folder\file.ext&lt;/a&gt;</code>
<h1>16. a href and text style 001</h1>
<a href="/////host/folder/folder/file.ext">/////host/folder/folder/file.ext</a>
<code>&lt;a href=&quot;/////host/folder/folder/file.ext&quot;&gt;/////host/folder/folder/file.ext&lt;/a&gt;</code>
<h1>17. a href and text style 002</h1>
<a href="//host/folder/folder/file.ext">//host/folder/folder/file.ext</a>
<code>&lt;a href=&quot;//host/folder/folder/file.ext&quot;&gt;//host/folder/folder/file.ext&lt;/a&gt;</code>
<h1>18. a href and text style 003</h1>
<a href="\\host\folder\folder\file.ext">\\host\folder\folder\file.ext</a>
<code>&lt;a href=&quot;\\host\folder\folder\file.ext&quot;&gt;\\host\folder\folder\file.ext&lt;/a&gt;</code>
<h1>19. plain text file style 001</h1>
<p>UNC file://///host/folder/folder/file.ext in the middle</p>
<code>&lt;p&gt;UNC file://///host/folder/folder/file.ext in the middle&lt;/p&gt;</code>
<h1>20. plain text file style 002</h1>
<p>UNC file://host/folder/folder/file.ext in the middle</p>
<code>&lt;p&gt;UNC file://host/folder/folder/file.ext in the middle&lt;/p&gt;</code>
<h1>21. plain text file style 003</h1>
<p>UNC file:\\host\folder\folder\file.ext in the middle</p>
<code>&lt;p&gt;UNC file:\\host\folder\folder\file.ext in the middle&lt;/p&gt;</code>
</section>
<section>
<br /><br /><br />
<hr />
<p>More info:</p>
<a href="https://confluence.virtual-solution.de/display/SI/Kerberos+and+UNC+-+Implementation+Plan">https://confluence.virtual-solution.de/display/SI/Kerberos+and+UNC+-+Implementation+Plan</a>
</section>
<style type="text/css">
code {
display: block;
margin-bottom: 1.5em;
margin-top: 1.5em;
border-radius: 0.4em;
padding: 1em;
background-color: #f6f6f6;
}
#test-links {
padding: 1em;
}
#test-links h1 {
margin-top: 2em;
}
#test-links a,
#test-links button {
font-size: 1.5em;
}
</style>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment