Files
angular/packages/platform-server/test
SkyZeroZx 44355181e2 fix(platform-server): preserve Unicode whitespace in ServerXhr URLs
Avoid String.prototype.trim() when classifying server request URLs because it
strips Unicode whitespace that WHATWG URL parsing preserves as path data.
This mismatch can cause xhr2 to send credentials to a different origin than
the application approved.

Classify the unmodified request URL so whitespace-prefixed input falls through
URL resolution, and cover NBSP- and BOM-prefixed HTTP URLs.

Fixes #70540
2026-09-22 14:01:43 -07:00
..