-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
test.txt
executable file
·54 lines (46 loc) · 1.2 KB
/
test.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
<a href="">1</a>
<a href="/">2</a>
<a href=".">3</a>
<a href="./">4</a>
<a href="..">5</a>
<a href="../">6</a>
<a href="a">7</a>
<a href="/a">8</a>
<a href="//a">9</a>
<a href="?a">10</a>
<a href="&a">11</a>
<a href="#a">12</a>
<a href="blob:a">13</a>
<a href="data:a">14</a>
<a href="javascript:a">15</a>
<a href="mailto:a">16</a>
<a href="../a">17</a>
<a href="../../a">18</a>
<a href="http://a">19</a>
<img src="a">
<img src="a"/>
<img src="a" />
<img
src="a"
/>
<img onerror="this.src='/foo/bar.baz';" onload="this.src='http://127.0.0.1/foo/bar.baz';" style="background: #fff url('/foo/bar.baz') no-repeat 0 0;">
<img src="a" srcset="a 1x, b 2x,c 3x,
d/e 4x, f?g=200 200w">
<script>
const link = '/foo/bar'; // Can’t decide if this is a relative link :\
const link = 'http://127.0.0.1/foo/bar';
const link = '<a href="http://127.0.0.1/foo/bar">foo</a>';
</script>
<script type="application/json">
{
"link": "<a href=\"http:\/\/127.0.0.1\/foo\/bar\">foo<\/a>",
"link": "<a href=\"http:\/\/127.0.0.1\/foo\/bar\" rel=\"nofollow\">bar<\/a>"
}
</script>
<style>
/* <a href="http://127.0.0.1/foo/bar">foo</a> */
::before {
content: url('/foo/bar.baz');
content: url('http://127.0.0.1/foo/bar.baz');
}
</style>