mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-10-22 02:58:11 +00:00
fix(mail): escape angularJS directive for description
This commit is contained in:
1 parent
78807d01ae
commit
47133fdf3b
19 files changed
+38
-21
No files matched your search
@@ -93,7 +93,7 @@ static const NSString *kCacheMotdKey = @"admin-motd";
|
||||
NSException *error;
|
||||
NSString *safeMotd;
|
||||
|
||||
safeMotd = [motd stringWithoutHTMLInjection: NO];
|
||||
safeMotd = [motd stringWithoutHTMLInjection: NO stripAngular: NO];
|
||||
error = [[[GCSFolderManager defaultFolderManager] adminFolder] writeMotd: safeMotd];
|
||||
if (!error) {
|
||||
[[SOGoCache sharedCache] setValue:safeMotd forKey:kCacheMotdKey];
|
||||
|
||||
Reference in new issue
Block a user