View Issue Details

IDProjectCategoryView StatusLast Update
0004259SOGoWeb Mailpublic2017-09-06 14:28
Reportertasmail Assigned To 
PrioritynormalSeverityminorReproducibilityalways
Status newResolutionopen 
Product Version3.2.10 
Summary0004259: White window after login to the web interface
Description

Crash of JSON.parse(data) in angular js, see file /usr/lib/GNUstep/SOGo/WebServerResources/js/vendor/angular.js line 1471.
The reason of crash is null char in the subject.
Example of the subject:

Subject: =?UTF-8?Q?Markt=C3=BCbersicht=3A_Verf=C3=BCgbare=00?= Microsoft
.NET Softwareentwickler

Steps To Reproduce

Mail message with the following subject in the IMAP inbox:

Subject: =?UTF-8?Q?Markt=C3=BCbersicht=3A_Verf=C3=BCgbare=00?= Microsoft
.NET Softwareentwickler

TagsNo tags attached.

Activities

tasmail

tasmail

2017-08-24 12:27

reporter   ~0012225

Was fixed temporary in angular.js line 11264:

the following line:

var tempData = data.replace(JSON_PROTECTION_PREFIX, '').trim();
was changed to the new one:
var tempData = data.replace(JSON_PROTECTION_PREFIX, '').trim().replace('\0 ', ' ');

ludovic

ludovic

2017-09-06 14:28

administrator   ~0012265

You should submit that patch to the Angular team - please do so and add a reference to it on this bug report.

Issue History

Date Modified Username Field Change
2017-08-24 12:15 tasmail New Issue
2017-08-24 12:27 tasmail Note Added: 0012225
2017-09-06 14:28 ludovic Note Added: 0012265
2017-09-06 14:28 ludovic Severity crash => minor