mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-04-10 15:58:52 +00:00
fix(vulnerability): prevent xss with events, tasks and contacts categories
This commit is contained in:
@@ -335,7 +335,7 @@
|
||||
|
||||
ex = nil;
|
||||
request = [context request];
|
||||
params = [[request contentAsString] objectFromJSONString];
|
||||
params = [[[request contentAsString] stringWithoutHTMLInjection: NO] objectFromJSONString];
|
||||
if (params == nil)
|
||||
{
|
||||
ex = [NSException exceptionWithName: @"JSONParsingException"
|
||||
|
||||
Reference in New Issue
Block a user