marinofaggiana 4 tahun lalu
induk
melakukan
da47e995f8
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  1. 1 1
      iOSClient/AppDelegate.m

+ 1 - 1
iOSClient/AppDelegate.m

@@ -1123,7 +1123,7 @@
 
                         if ([path containsString:@"/"]) {
 
-                            fileName = [[path stringByDeletingLastPathComponent] lastPathComponent];
+                            fileName = [path lastPathComponent];
                             serverUrl = [CCUtility deletingLastPathComponentFromServerUrl:[NSString stringWithFormat:@"%@/%@/%@", matchedAccount.urlBase, webDAV, [path stringByDeletingLastPathComponent]]];
                             
                         } else {