mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-03-01 13:16:23 +00:00
Sanitize whitelisted attributes of HTML tags
This commit is contained in:
@@ -686,8 +686,7 @@ static NSData* _sanitizeContent(NSData *theData)
|
||||
|
||||
if (!skipAttribute)
|
||||
[resultPart appendFormat: @" %@=\"%@\"",
|
||||
name, [value stringByReplacingString: @"\""
|
||||
withString: @"\\\""]];
|
||||
name, [value safeStringByEscapingXMLString: NO]];
|
||||
}
|
||||
|
||||
if ([VoidTags containsObject: lowerName])
|
||||
|
||||
Reference in New Issue
Block a user