(fix) XSRF supprot for all contact operations

This commit is contained in:
Ludovic Marcotte
2016-05-04 14:15:18 -04:00
parent d4fc1775b2
commit 5f2a862bc8
8 changed files with 37 additions and 22 deletions
+2 -1
View File
@@ -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];