Skip to content

fix(citations): MDN moved Web/Security pages under Web/Security/Defenses/ - #135

Merged
jdevalk merged 3 commits into
mainfrom
fix/mdn-security-defenses-paths-2026-07-30
Jul 31, 2026
Merged

fix(citations): MDN moved Web/Security pages under Web/Security/Defenses/#135
jdevalk merged 3 commits into
mainfrom
fix/mdn-security-defenses-paths-2026-07-30

Conversation

@jdevalk

@jdevalk jdevalk commented Jul 30, 2026

Copy link
Copy Markdown
Owner

What changed

Two MDN source URLs in the security category updated to their current canonical paths:

Page Old New
security/mixed-content Web/Security/Mixed_content Web/Security/Defenses/Mixed_content
security/https-tls Web/Security/Transport_Layer_Security Web/Security/Defenses/Transport_Layer_Security

updated bumped on both.

Why now

Found by the daily standards scan's rotating citation slice (today: security + seo). MDN has reorganised its Web/Security reference tree into Defenses/ and Attacks/ subtrees. Both old paths still 301, so nothing is visibly broken today — but per CLAUDE.md cardinal rule 1, MDN deep links are resolved through the MDN MCP server precisely because MDN reorganises and hard-coded links rot. These are the last two pre-reorg Web/Security/* links in the repo (grep confirms no others).

Sources

Both canonical paths returned by the MDN MCP server (https://mcp.mdn.mozilla.net/), which reported the redirects explicitly:

  • /en-US/docs/Web/Security/Mixed_content/en-US/docs/Web/Security/Defenses/Mixed_content
  • /en-US/docs/Web/Security/Transport_Layer_Security/en-US/docs/Web/Security/Defenses/Transport_Layer_Security

Status

No status changes. Citation-only fix — no changelog entry (CLAUDE.md: the changelog is about what the spec says, and this changes no claim).

npm run build passes.

🤖 Generated with Claude Code

…ses/

MDN reorganised its Web/Security reference tree into Defenses/ and
Attacks/ subtrees. Two source URLs still pointed at the pre-reorg paths
and now redirect:

- security/mixed-content.md -> Web/Security/Defenses/Mixed_content
- security/https-tls.md -> Web/Security/Defenses/Transport_Layer_Security

Both canonical paths resolved through the MDN MCP server.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Jul 30, 2026

Copy link
Copy Markdown

Deploying specification-website with  Cloudflare Pages  Cloudflare Pages

Latest commit: 6a0d477
Status: ✅  Deploy successful!
Preview URL: https://0df05e50.specification-website.pages.dev
Branch Preview URL: https://fix-mdn-security-defenses-pa.specification-website.pages.dev

View logs

The DOMPurify 3.4.11 bytes were an accidental build artefact from an older
dependency tree, committed alongside the MDN path fixes. Reverted to main's
3.4.12; the two spec-page citation changes are untouched.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
@jdevalk

jdevalk commented Jul 31, 2026

Copy link
Copy Markdown
Owner Author

Reverted public/vendor/purify.min.js to main's 3.4.12 in 3f29fd7. It carried DOMPurify 3.4.11 — an accidental build artefact from an older dependency tree, not an intended change. Merging as-was would have silently downgraded the vendored copy. The two MDN path fixes are untouched, and both verified against the MDN MCP: Web/Security/Defenses/Transport_Layer_Security and Web/Security/Defenses/Mixed_content both resolve, and the live MDN page's own internal links use the Defenses/ prefix.

@jdevalk
jdevalk marked this pull request as ready for review July 31, 2026 09:43
@jdevalk
jdevalk merged commit a1f898f into main Jul 31, 2026
7 of 8 checks passed
@jdevalk
jdevalk deleted the fix/mdn-security-defenses-paths-2026-07-30 branch July 31, 2026 09:45
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