mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-03-05 15:16:26 +00:00
Consider 'background' attribute as unsafe
When loading a message, background attributes will be disabled if the user as chosen to not automatically load external images. Fixes #2437
This commit is contained in:
@@ -542,7 +542,8 @@ static NSData* _sanitizeContent(NSData *theData)
|
||||
else
|
||||
skipAttribute = YES;
|
||||
}
|
||||
else if (([name isEqualToString: @"data"]
|
||||
else if ([name isEqualToString: @"background"] ||
|
||||
([name isEqualToString: @"data"]
|
||||
|| [name isEqualToString: @"classid"])
|
||||
&& [lowerName isEqualToString: @"object"])
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user