Skip to content

Ignore the askubuntu link that now 403s the link checker - #106

Merged
ultimatecoder merged 1 commit into
masterfrom
fix/htmlproofer-askubuntu-403
Aug 6, 2026
Merged

Ignore the askubuntu link that now 403s the link checker#106
ultimatecoder merged 1 commit into
masterfrom
fix/htmlproofer-askubuntu-403

Conversation

@ultimatecoder

Copy link
Copy Markdown
Owner

Problem

CI is failing on every branch, including ones that touch nothing related:

* At ./_site/2017/08/28/how_to_repair_a_broken_grub_in_ubuntu.html:120:
  External link https://askubuntu.com/a/162896 failed (status code 403)

Stack Exchange started serving 403 to non-browser user agents. CI was green as recently as 2026-08-01 and the post has not changed since — this is their bot wall, not link rot.

The link is alive

$ curl -sI https://askubuntu.com/a/162896
302

# resolves to:
https://askubuntu.com/questions/162564/how-can-i-tell-if-my-system-was-booted-as-efi-uefi-or-bios/162896#162896

The answer still renders normally in a browser. This is exactly the ci-block case scripts/test already documents:

live (200 from a browser) but returns 403/415 to htmlproofer, i.e. bot/WAF blocking, not a broken link

So it goes in the ignore list next to the other four, rather than editing the post or weakening the check.

Why this is its own PR

It blocks every open pull request against master, not just one. Landing it separately means the others only need a rebase instead of each carrying a copy of the same unrelated fix.

Verification

./scripts/test:

Checking 173 external links
Checking 73 internal links
Ran on 37 files!

HTML-Proofer finished successfully.

🤖 Generated with Claude Code

Stack Exchange started serving 403 to non-browser user agents, so
htmlproofer fails on the askubuntu reference in the GRUB repair post. CI
was green as recently as 2026-08-01, and nothing in the post changed —
this is their bot wall, not a broken link.

The target is alive: the URL redirects to
askubuntu.com/questions/162564/how-can-i-tell-if-my-system-was-booted-as-efi-uefi-or-bios/162896
and the answer still renders in a browser. That matches the `ci-block`
case the ignore list already documents, so add it there rather than
touching the post.

This blocks every open pull request against master, not just one, which
is why it lands on its own.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
@ultimatecoder
ultimatecoder merged commit 4ec7d1a into master Aug 6, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant