Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Page with garbled text appears when any unhandled error occurs

Whenever an unhandled error occurs, I get following screen instead of yellow screen.

suckr

Please note I have enabled Localization in ASP.NET Boilerplate and current language/culture is set to en-US.

For some pages, the language text values are stored in AbpLanguageTexts table.

like image 294
Nitin S Avatar asked Sep 13 '18 04:09

Nitin S


1 Answers

This is happens when the page is send back with gZip compression but with wrong Content-Length.

The result are the non-correct decompress of the data.

The solution is to remove the Content-Length or remove the compression from the error page/message.

You can also check this similar answer : HTTP Compression: Some external scripts/CSS not decompressing properly some of the time

like image 175
Aristos Avatar answered Oct 28 '22 08:10

Aristos