Browse Source

fix listingTrash

Marino Faggiana 6 năm trước cách đây
mục cha
commit
bcaecbcfa9
1 tập tin đã thay đổi với 2 bổ sung0 xóa
  1. 2 0
      iOSClient/Library/OCCommunicationLib/OCCommunication.m

+ 2 - 0
iOSClient/Library/OCCommunicationLib/OCCommunication.m

@@ -2995,6 +2995,8 @@
     OCWebDAVClient *request = [OCWebDAVClient new];
     request = [self getRequestWithCredentials:request];
     
+    path = [path encodeString:NSUTF8StringEncoding];
+
     [request listTrash:path onCommunication:sharedOCCommunication success:^(NSHTTPURLResponse *response, id responseObject) {
         
         OCXMLParser *parser = [OCXMLParser new];