Skip to content

fix: reserve archive viewer resources before entries - #1091

Merged
andiwand merged 2 commits into
mainfrom
review/73-archive-resources
Oct 5, 2026
Merged

andiwand merged 2 commits into
mainfrom
review/73-archive-resources

Conversation

@andiwand

@andiwand andiwand commented Oct 5, 2026 •

Copy link
Copy Markdown
Member

🤖 Generated with Claude Code

Archive listings reserve all shipped resource locations before locating entries, so an entry cannot replace a viewer script registered later in the page. Reservation also handles case-insensitive filesystem collisions and the listing's own path. Refused URI schemes fall back to inline downloads; external links carry the normal target attributes. Frontend asset writing reuses the reserved resource instead of registering it twice.

The existing collision regression now covers CSS, search, viewport, host-bridge scripts, case variants, and service routing. One additional test covers refused/external links and the listing path. All 110 HTML/helper checks pass.

@andiwand
andiwand force-pushed the review/72-html-lengths branch from 4a9f105 to 7203c45 Compare October 5, 2026 19:26
Base automatically changed from review/72-html-lengths to main October 5, 2026 19:34
@andiwand
andiwand force-pushed the review/73-archive-resources branch from 1b166db to 47877f1 Compare October 5, 2026 19:37
@andiwand
andiwand merged commit 95c174f into main Oct 5, 2026
13 of 23 checks passed
@andiwand
andiwand deleted the review/73-archive-resources branch October 5, 2026 19:38
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