mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-10-14 08:07:11 +00:00
fix(mail): escape angularJS directive for description
This commit is contained in:
1 parent
68cbe60738
commit
881cd161e5
19 files changed
+38
-21
No files matched your search
@@ -1091,7 +1091,7 @@ static const NSString *kJwtKey = @"jwt";
|
||||
}
|
||||
|
||||
//Check common injection
|
||||
loginClean = [login stringWithoutHTMLInjection: YES];
|
||||
loginClean = [login stringWithoutHTMLInjection: YES stripAngular:NO];
|
||||
if(![loginClean isEqualToString: login])
|
||||
{
|
||||
loginClean = @"";
|
||||
|
||||
Reference in new issue
Block a user