HTML mail: assume body never ends

Fixes #4492
pull/229/merge
Francis Lachapelle 2018-06-27 15:32:54 -04:00
parent 2b80d62a77
commit f8cd3fb29c
2 changed files with 4 additions and 1 deletions

1
NEWS
View File

@ -18,6 +18,7 @@ Bug fixes
- [web] fixed SAML2 session timeout handling during XHR requests - [web] fixed SAML2 session timeout handling during XHR requests
- [web] fixed renaming a folder under iOS - [web] fixed renaming a folder under iOS
- [web] fixed download of exported folders under iOS - [web] fixed download of exported folders under iOS
- [web] improved server-side CSS sanitizer
- [eas] improved alarms syncing with EAS devices (#4351) - [eas] improved alarms syncing with EAS devices (#4351)
- [eas] avoid potential cache update when breaking sync queries (#4422) - [eas] avoid potential cache update when breaking sync queries (#4422)
- [eas] fixed EAS search - [eas] fixed EAS search

View File

@ -623,7 +623,9 @@ _xmlCharsetForCharset (NSString *charset)
{ {
if ([lowerName isEqualToString: @"body"]) if ([lowerName isEqualToString: @"body"])
{ {
inBody = NO; // Assume <body> never ends to properly display incorrectly constructed messages.
// See bug #4492
// inBody = NO;
if (css) if (css)
[self _finishCSS]; [self _finishCSS];
} }