2afa885021
A site busts a stylesheet's cache with a date string, so a page links to styles/main.css?Thursday, 26-Feb-2026 16:26:41 UTC. A browser encodes the spaces before requesting, but kage parsed the href and passed RawQuery through verbatim, so the request line carried literal spaces and the server answered 400 Bad Request. On a developer.apple.com crawl this was the bulk of the download errors. Re-encode the query on the canonical URL: percent-encode any byte a query may not carry (space, control, non-ASCII) while leaving valid sub-delims and existing %XX escapes alone. Doing it in canonical fixes the fetch and keeps the on-disk key in step with the request.