dualfroz 128a5c945a fix: percent-encode page URLs built from file paths
A file named Müsli.html was indexed with the URL /Müsli.html, which only
resolves if the host happens to serve the same byte sequence the index was
built from. Encode the URL that build_url derives from the file path using
the URL spec's path percent-encode set, leaving / and % alone so path
separators and already-encoded filenames are unaffected.

URLs supplied by the caller (data-pagefind-meta="url:...", addCustomRecord)
do not go through build_url and are untouched.

Fixes #619
2026-09-13 15:40:22 +02:00
S
Description
My contributions to Pagefind/pagefind: 10 commits, 1 merged PRs
146 KiB
0 Stars 1 Watchers 0 Forks
Languages
Rust 62.4%
TypeScript 17.3%
Python 8%
Svelte 6.9%
JavaScript 5.4%