aboutsummaryrefslogtreecommitdiff
path: root/brokenlinks/worker_test.go
AgeCommit message (Collapse)Author
2026-02-11brokenlinks: make link that return HTML always end with slashShulhan
If parent URL like "/page" return the body as HTML page, the URL should be end with slash to make the relative links inside it works when joined with the parent URL.
2026-02-05brokenlinks: check for redirect during scanShulhan
If the request redirected, use the "Location" value in the response header as the parent URL instead of from the original link in queue.
2026-02-04brokenlinks: fix generating relative URLShulhan
If the parent URL end with .html or .htm, join the directory of parent instead of the current path with the relative path.