aboutsummaryrefslogtreecommitdiff
path: root/brokenlinks/testdata/web
diff options
context:
space:
mode:
authorShulhan <ms@kilabit.info>2025-06-13 01:33:43 +0700
committerShulhan <ms@kilabit.info>2025-06-13 01:33:43 +0700
commitfb9937797a07816fbc8b25fc03893f74bf7c7663 (patch)
tree068d60e378e33716af7426e507b937523bbe38b3 /brokenlinks/testdata/web
parentaf0fc1518eb9b0ec7ba72d5dcdd78d5df2213968 (diff)
downloadjarink-fb9937797a07816fbc8b25fc03893f74bf7c7663.tar.xz
brokenlinks: add option to ignore list HTTP status code
When link known to have an issues, one can ignore the status code during scanning broken links using "-ignore-status" option.
Diffstat (limited to 'brokenlinks/testdata/web')
-rw-r--r--brokenlinks/testdata/web/index.html3
1 files changed, 3 insertions, 0 deletions
diff --git a/brokenlinks/testdata/web/index.html b/brokenlinks/testdata/web/index.html
index 61a1f39..cc11a2f 100644
--- a/brokenlinks/testdata/web/index.html
+++ b/brokenlinks/testdata/web/index.html
@@ -18,5 +18,8 @@ SPDX-License-Identifier: GPL-3.0-only
<!-- Fragment should be skipped and cleaned up -->
<a href="#goto_a">Same with href to "/"</a>
<a href="/page2#goto_a">Same with href to "/page2"</a>
+
+ <!-- Pages that return custom HTTP status code -->
+ <a href="/page403">Page 403</a>
</body>
</html>