mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-03-23 07:12:42 +00:00
Fix for bug #2468.
This commit is contained in:
@@ -562,6 +562,11 @@ static NSData* _sanitizeContent(NSData *theData)
|
||||
&& ![value hasPrefix: @"mailto:"]
|
||||
&& ![value hasPrefix: @"#"]);
|
||||
}
|
||||
else if ([name isEqualToString: @"onload"]
|
||||
|| [name isEqualToString: @"onclick"])
|
||||
{
|
||||
skipAttribute = YES;
|
||||
}
|
||||
else
|
||||
value = [_attributes valueAtIndex: count];
|
||||
if (!skipAttribute)
|
||||
|
||||
Reference in New Issue
Block a user