3 URI.AllowedSchemes = http,ftp,file
5 <a href="google.com">foo</a>
6 <a href="/google.com">foo</a>
7 <a href="//google.com">foo</a>
8 <a href="///google.com">foo</a>
9 <a href="////google.com">foo</a>
11 <a href="http:google.com">foo</a>
12 <a href="http:/google.com">foo</a>
13 <a href="http://google.com">foo</a>
14 <a href="http:///google.com">foo</a>
15 <a href="http:////google.com">foo</a>
17 <a href="ftp:google.com">foo</a>
18 <a href="ftp:/google.com">foo</a>
19 <a href="ftp://google.com">foo</a>
20 <a href="ftp:///google.com">foo</a>
21 <a href="ftp:////google.com">foo</a>
23 <a href="file:google.com">foo</a>
24 <a href="file:/google.com">foo</a>
25 <a href="file://google.com">foo</a>
26 <a href="file:///google.com">foo</a>
27 <a href="file:////google.com">foo</a>
29 <a href="google.com">foo</a>
30 <a href="/google.com">foo</a>
31 <a href="/r/%2F%2Fgoogle.com">foo</a>
32 <a href="/google.com">foo</a>
35 <a href="google.com">foo</a>
36 <a href="/google.com">foo</a>
37 <a href="/r/http%3A%2F%2Fgoogle.com">foo</a>
38 <a href="/google.com">foo</a>
43 <a href="/r/ftp%3A%2F%2Fgoogle.com">foo</a>
47 <a href="file:google.com">foo</a>
48 <a href="file:/google.com">foo</a>
49 <a href="file://google.com">foo</a>
50 <a href="file:///google.com">foo</a>
51 <a href="file:////google.com">foo</a>
52 --# vim: et sw=4 sts=4