From bcccb3d65bf1714bb03ef6342a85fe14e6209c51 Mon Sep 17 00:00:00 2001 From: Shulhan Date: Fri, 23 May 2025 11:01:23 +0700 Subject: all: complete the first minimum working implementation The current implementation at least cover 84% of the cases. Todo, * CLI for scan * add more test case for 100% coverage, including scan on invalid base URL, scan on invalid HTML page, scan on invalid href or src image --- testdata/web/index.html | 1 + testdata/web/page2/index.html | 3 +++ 2 files changed, 4 insertions(+) (limited to 'testdata/web') diff --git a/testdata/web/index.html b/testdata/web/index.html index 5d85bcf..1124813 100644 --- a/testdata/web/index.html +++ b/testdata/web/index.html @@ -7,5 +7,6 @@ SPDX-License-Identifier: GPL-3.0-only Broken page Page 2 + Broken page at kilabit.info diff --git a/testdata/web/page2/index.html b/testdata/web/page2/index.html index 933dede..0fc7601 100644 --- a/testdata/web/page2/index.html +++ b/testdata/web/page2/index.html @@ -4,7 +4,10 @@ SPDX-License-Identifier: GPL-3.0-only --> + broken relative link + Back with absolute path + Back with relative path -- cgit v1.3-6-g1900