Avoid stripping unicode whitespace during url resolution

fix(platform-server): avoid stripping unicode whitespace during url resolution
Avoid stripping unicode whitespace during url resolution71e52d-fix-avoid-stripping-unicode-whitespace-during-url-cve-2026-88056fixavoid stripping unicode whitespace during url

Committed by alan-agius4

commit message
fix(platform-server): avoid stripping unicode whitespace during url resolution

Avoid trimming urlStr with String.prototype.trim() in resolveUrl to ensure URL parsing and resolution align with the WHATWG URL standard.
 
(cherry picked from commit 3e924cc8dbbb57f23b262cb8f0d7e2bd0673034c)

Editor assessment

This commit patches CVE-2026-88056. This backport repeats the precise one-sentence explanation (drop String.trim from resolveUrl to align with WHATWG URL parsing) and adds a cherry-pick trailer identifying the source commit. The header and scope are clean and the change is understandable in outline, but neither version explains the user-visible or security consequence, so the message remains thin. The cherry-pick trailer is correctly separated from the body and does not disturb the clean header. Its only weakness is the same as the original: the reader gets the change but not the failure it prevents.

Browse categories

More fix examples · Back to search