mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-04-10 15:58:52 +00:00
(fix) fixed wrong comparison of meta vs. META tag in HTML mails
This commit is contained in:
1
NEWS
1
NEWS
@@ -29,6 +29,7 @@ Bug fixes
|
||||
- avoid crashing Outlook after setting a custom view in a calendar folder (Zentyal)
|
||||
- handle emails having an attachment as their content
|
||||
- fixed JavaScript syntax error in attendees editor
|
||||
- fixed wrong comparison of meta vs. META tag in HTML mails
|
||||
|
||||
2.3.2 (2015-09-16)
|
||||
------------------
|
||||
|
||||
@@ -161,10 +161,10 @@ static NSData* _sanitizeContent(NSData *theData)
|
||||
if (i < len-5)
|
||||
{
|
||||
if ((*bytes == '<') &&
|
||||
(*(bytes+1) == 'm' || *(bytes+2) == 'M') &&
|
||||
(*(bytes+2) == 'e' || *(bytes+3) == 'E') &&
|
||||
(*(bytes+3) == 't' || *(bytes+4) == 'T') &&
|
||||
(*(bytes+4) == 'a' || *(bytes+5) == 'A') &&
|
||||
(*(bytes+1) == 'm' || *(bytes+1) == 'M') &&
|
||||
(*(bytes+2) == 'e' || *(bytes+2) == 'E') &&
|
||||
(*(bytes+3) == 't' || *(bytes+3) == 'T') &&
|
||||
(*(bytes+4) == 'a' || *(bytes+4) == 'A') &&
|
||||
(*(bytes+5) == ' '))
|
||||
in_meta = YES;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user