Skip to content

Fix literal hashes in tile paths (6.10.1) - #20

Merged
jitdor merged 1 commit into
mainfrom
fix/tile-path-hash
Oct 2, 2026
Merged

jitdor merged 1 commit into
mainfrom
fix/tile-path-hash

Conversation

@jitdor

@jitdor jitdor commented Oct 2, 2026

Copy link
Copy Markdown
Owner

Tile filenames containing a raw # were truncated by browser fragment parsing, causing navigation to 404. Repair incomplete JavStore item paths only when the fragment contains the missing -pn.html ending, preserving existing escapes and trailing query strings or legitimate fragments. Apply the repair during tile processing, including added and changed tiles and context-menu navigation.

Add four regression tests covering repairs, unchanged links, dynamic tiles, history recording, and existing visits to correctly escaped URLs. Truncated legacy history is not migrated because its missing path cannot be recovered reliably.

Bump @Version, SCRIPT_VERSION, and WORKER_VERSION to 6.10.1 and add the matching changelog section. The existing main-branch release workflow publishes the asset served by the stable @updateURL and @downloadurl.

Validation: userscript syntax check, diff whitespace check, and all 81 tests passed locally.

@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Oct 2, 2026 •

Copy link
Copy Markdown

🚀 Deploying Preview to Cloudflare 🚀

Preview Deployments by commit

Status Deployment URL Commit Updated (UTC) See this deployment's details
  • Build: Failed ❌

View logs ↗
41866cc 2026-10-02T23:55:05.653Z View logs ↗

@jitdor
jitdor merged commit 51a72e5 into main Oct 2, 2026
2 of 3 checks 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