mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-08-12 02:13:18 +00:00
fix(mail): escape angularJS directive for description
This commit is contained in:
@@ -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];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user