Summary
Release meta
Released on: 2026-07-31
Released by: ggrossetie
Published by: GitHub
Logs: full diff
Changelog
Bug Fixes
- Fix
PathResolver#partitionPath()/#expandPath()dropping a slash fromfile:///(and other triple-slash) URIs, turningfile:///Users/guillaume/foo.pngintofile://Users/guillaume/foo.png— a malformed URL whose "host" (Users) browsers reject asNot allowed to load local resource.UriSniffRxonly ever matches up to 2 slashes after the scheme, so for a triple-slash URI the 3rd slash is left in the remainder to partition into segments;partitionPath()unconditionally filtered out all empty segments (including that leading one), silently discarding the information needed to reconstruct the slash onjoinPath(). It now mirrors Ruby’sString#split('/')semantics and drops only trailing empty segments, keeping leading ones intact