mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-03-12 02:11:23 +00:00
Fix decoding charset parameter
To avoid a libxml bug/limitation, we were already stripping the charset parameter, but we were not considering the single quote as valid delimiter.
This commit is contained in:
@@ -189,7 +189,7 @@ static NSData* _sanitizeContent(NSData *theData)
|
||||
j = 8;
|
||||
found_delimiter = YES;
|
||||
|
||||
while (*(bytes+j) != ' ' && *(bytes+j) != '"')
|
||||
while (*(bytes+j) != ' ' && *(bytes+j) != '"' && *(bytes+j) != '\'')
|
||||
{
|
||||
j++;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user