Resolve relative web app manifest URLs #7

Merged
raucao merged 2 commits from fix/relative-manifest-url into master 2026-11-23 18:41:24 +00:00
2 Commits
Author SHA1 Message Date
raucao df3d85c446 Add trailing newline to relative manifest fixture 2026-11-23 22:34:06 +04:00
raucao a065bebbd4 Resolve relative web app manifest URLs
Resolve the manifest href against the document URL using URI.join
(RFC 3986) instead of naive string concatenation. The previous approach
produced URLs with dot segments like /./manifest.webmanifest, which
servers that do not normalise dot segments (e.g. 5apps/openresty)
reject with a 404, silently breaking manifest metadata.

Version 1.1.1.
2026-11-23 22:33:05 +04:00