Angular 19 SSR: App breaks when receiving \r\n in API response with net::ERR_CONTENT_LENGTH_MISMATCH #29567
Closed
1 task done
Labels
area: @angular/ssr
freq1: low
Only reported by a handful of users who observe it rarely
severity3: broken
type: bug/fix
Command
version
Is this a regression?
The previous version in which this bug was not present was
18.2.12
Description
After building the project and starting the server, navigating to a page that contains \r\n in the API response and reloading the page causes Angular to stop working. The browser console shows the following error:
GET http://localhost:4000/about net::ERR_CONTENT_LENGTH_MISMATCH 200 (OK)
Minimal Reproduction
https://github.com/AnatoliiMazur/angular-19-bug
Exception or Error
Your Environment
Anything else relevant?
A minimal reproduction repository is available here.
The text was updated successfully, but these errors were encountered: