fix(mail): escape angularJS directive for description

This commit is contained in:
Hivert Quentin committed 2026-08-10 19:34:25 +02:00
1 parent 78807d01ae
commit 47133fdf3b
19 files changed
+38 -21

No files matched your search

+1 -1
View File
@@ -403,7 +403,7 @@ static SoProduct *commonProduct = nil;
theme = [[context request] formValueForKey: @"theme"];
if ([theme length])
{
safeTheme = [theme stringWithoutHTMLInjection: YES];
safeTheme = [theme stringWithoutHTMLInjection: YES stripAngular:NO];
if([safeTheme isEqualToString: theme])
rel = [NSString stringWithFormat: @"%@?theme=%@", rel, theme];
}