mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-10-29 05:45:42 +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:
1 parent
d51e1da57f
commit
d603a8672e
3 files changed
+29
-44
No files matched your search
@@ -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