We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ae77052 commit 64cb328Copy full SHA for 64cb328
DeepLinkKit/RouteMatcher/DPLRouteMatcher.m
@@ -37,7 +37,7 @@ - (instancetype)initWithRoute:(NSString *)route {
37
- (DPLDeepLink *)deepLinkWithURL:(NSURL *)url {
38
39
DPLDeepLink *deepLink = [[DPLDeepLink alloc] initWithURL:url];
40
- NSString *deepLinkString = [NSString stringWithFormat:@"%@%@", deepLink.URL.host, deepLink.URL.path];
+ NSString *deepLinkString = [NSString stringWithFormat:@"%@%@", deepLink.URL.host ?: @"", deepLink.URL.path ?: @""];
41
42
if (self.scheme.length && ![self.scheme isEqualToString:deepLink.URL.scheme]) {
43
return nil;
0 commit comments