|
@@ -2718,10 +2718,10 @@
|
|
|
- (void)createLinkRichdocuments:(NSString *)serverPath fileID:(NSString *)fileID onCommunication:(OCCommunication *)sharedOCComunication successRequest:(void(^)(NSHTTPURLResponse *response, NSString *redirectedServer))successRequest failureRequest:(void(^)(NSHTTPURLResponse *response, NSError *error, NSString *redirectedServer)) failureRequest {
|
|
|
|
|
|
serverPath = [serverPath stringByAppendingString:k_url_create_link_mobile_editor];
|
|
|
- serverPath = [NSString stringWithFormat:@"%@/%@", serverPath, fileID];
|
|
|
- serverPath = [serverPath stringByAppendingString:@"?format=json"];
|
|
|
- //serverPath = [NSString stringWithFormat:@"%@?fileid=%@", serverPath, fileID];
|
|
|
- //serverPath = [serverPath stringByAppendingString:@"&format=json"];
|
|
|
+ //serverPath = [NSString stringWithFormat:@"%@/%@", serverPath, fileID];
|
|
|
+ //serverPath = [serverPath stringByAppendingString:@"?format=json"];
|
|
|
+ serverPath = [NSString stringWithFormat:@"%@?fileid=%@", serverPath, fileID];
|
|
|
+ serverPath = [serverPath stringByAppendingString:@"&format=json"];
|
|
|
|
|
|
OCWebDAVClient *request = [[OCWebDAVClient alloc] init];
|
|
|
request = [self getRequestWithCredentials:request];
|