We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 468b6fd + 2e35da6 commit 287a63bCopy full SHA for 287a63b
put.io adder/PutioHelper.m
@@ -340,7 +340,7 @@ - (void)checkForUpdates
340
- (void)saveAccessToken:(NSString *)url
341
{
342
NSError *error = nil;
343
- NSString *pattern = @"^putio://callback#access_token=(.*)";
+ NSString *pattern = @"^putio://callback\\?#access_token=(.*)";
344
NSRegularExpression *regex = [NSRegularExpression regularExpressionWithPattern:pattern options:0 error:&error];
345
NSArray *matches = [regex matchesInString:url options:0 range:NSMakeRange(0, [url length])];
346
@@ -387,4 +387,4 @@ - (NSString*)transformedValue:(double)value
387
return [str stringByTrimmingCharactersInSet:[NSCharacterSet whitespaceCharacterSet]];
388
}
389
390
-@end
+@end
0 commit comments