marinofaggiana 4 年之前
父節點
當前提交
da47e995f8
共有 1 個文件被更改,包括 1 次插入1 次删除
  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 {