Avoid stripping unicode whitespace during url resolution
fix(platform-server): avoid stripping unicode whitespace during url resolution
Avoid stripping unicode whitespace during url resolution5aa6d9-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.Editor assessment
This commit patches CVE-2026-88056. The platform-server scope and fix type are right, and the body names the exact change: removing String.prototype.trim from resolveUrl so URL resolution follows the WHATWG standard. What is absent is the motivation - the malformed or whitespace-prefixed URLs that previously resolved differently, and why that mattered. Clear and correct, but the reader still needs the diff to understand the risk. The header is compliant and the scope precise; the body is separated correctly. What remains missing is the motivating example - one URL that used to resolve incorrectly would turn this from a note into a lesson.