mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-05-12 06:55:26 +00:00
(fix) XSRF supprot for all contact operations
This commit is contained in:
@@ -69,7 +69,8 @@
|
||||
content = [NSMutableString string];
|
||||
request = [context request];
|
||||
sourceFolder = [self clientObject];
|
||||
contactsId = [request formValuesForKey: @"uid"];
|
||||
contactsId = [[[[context request] contentAsString] objectFromJSONString] objectForKey: @"uids"];
|
||||
|
||||
if (!contactsId)
|
||||
contactsId = [sourceFolder toOneRelationshipKeys];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user