Skip to content
This repository has been archived by the owner on Jun 19, 2023. It is now read-only.

fix for the public link when the server version is 8 #969

Merged
merged 3 commits into from
Nov 29, 2017

Conversation

pablocarmu
Copy link
Contributor

@pablocarmu pablocarmu commented Nov 29, 2017

Related bug (1) #923

@jesmrec jesmrec mentioned this pull request Nov 29, 2017
33 tasks
@nasli nasli added this to the 3.7.0 milestone Nov 29, 2017
}
}
NSLog(@"the url for the public link is %@",url);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Use DLog() instead NSLog

@jesmrec
Copy link
Contributor

jesmrec commented Nov 29, 2017

Checked in oC 8, 9 and 10.

Fixed.

@@ -50,8 +50,7 @@ + (NSMutableArray *) manageTheDuplicatedUsers: (NSMutableArray*) items{

+ (NSURL *) getNormalizedURLOfShareLink:(OCSharedDto *)sharedLink {


NSString *urlSharedLink = sharedLink.url ? sharedLink.url : sharedLink.token;
NSString *urlSharedLink = (![sharedLink.url isEqual: @"(null)"]) ? sharedLink.url : sharedLink.token;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Better not check with equal @"(null)" or not just only check that

@pablocarmu pablocarmu merged commit d7dd1fc into release_3.7.0 Nov 29, 2017
@pablocarmu pablocarmu deleted the share_link_server_v8 branch November 29, 2017 12:26
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants