fix(mail): escape angularJS directive for description

This commit is contained in:
Hivert Quentin committed 2026-08-10 15:40:00 +02:00
1 parent 68cbe60738
commit 881cd161e5
19 files changed
+38 -21

No files matched your search

+1 -1
View File
@@ -485,7 +485,7 @@ static Class SOGoContactGCSEntryK = Nil;
co = [self clientObject];
card = [co vCard];
request = [context request];
params = [[[request contentAsString] stringWithoutHTMLInjection: YES] objectFromJSONString];
params = [[[request contentAsString] stringWithoutHTMLInjection: YES stripAngular:NO] objectFromJSONString];
forceSave = [[params objectForKey: @"ignoreDuplicate"] boolValue];
[self setAttributes: params];
+1 -1
View File
@@ -339,7 +339,7 @@
[list retain];
request = [context request];
params = [[[request contentAsString] stringWithoutHTMLInjection: YES] objectFromJSONString];
params = [[[request contentAsString] stringWithoutHTMLInjection: YES stripAngular:NO] objectFromJSONString];
o = [params objectForKey: @"refs"];
if (![o isKindOfClass: [NSArray class]])