diff options
| author | Shulhan <ms@kilabit.info> | 2025-05-29 14:04:51 +0700 |
|---|---|---|
| committer | Shulhan <ms@kilabit.info> | 2025-05-29 14:04:51 +0700 |
| commit | b0c320e436ff5cdc70ad38a980a2af2a7f3e5dfd (patch) | |
| tree | d7fb2016f426d51b72d506f22345634300528fdf /testdata | |
| parent | 3d39941514395137610fb1c58768814a390b7c35 (diff) | |
| download | jarink-b0c320e436ff5cdc70ad38a980a2af2a7f3e5dfd.tar.xz | |
all: ignore HTML page from external domain
Any HTML link that is from domain other than the scanned domain should
net get parsed.
It only check if the link is valid or not.
Diffstat (limited to 'testdata')
| -rw-r--r-- | testdata/web/index.html | 1 | ||||
| -rw-r--r-- | testdata/web/page2/index.html | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/testdata/web/index.html b/testdata/web/index.html index e4d8bd0..f4f86d8 100644 --- a/testdata/web/index.html +++ b/testdata/web/index.html @@ -9,5 +9,6 @@ SPDX-License-Identifier: GPL-3.0-only <img src="/gopher.png" /> <a href="/page2">Page 2</a> <a href="/broken.html">Broken HTML</a> + <a href="http://127.0.0.1:11900">External URL</a> </body> </html> diff --git a/testdata/web/page2/index.html b/testdata/web/page2/index.html index 0fc7601..ae6b4ea 100644 --- a/testdata/web/page2/index.html +++ b/testdata/web/page2/index.html @@ -9,5 +9,6 @@ SPDX-License-Identifier: GPL-3.0-only <a href="broken/relative">broken relative link</a> <a href="/">Back with absolute path</a> <a href="../">Back with relative path</a> + <a href="http://127.0.0.1:11900/page2">External URL page2</a> </body> </html> |
