Skip to content

Commit

Permalink
[patch] don't log about whitelisting for about:blank
Browse files Browse the repository at this point in the history
  • Loading branch information
marc-scig committed Aug 10, 2017
1 parent 9a43d3f commit 1bf9f79
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion AirshipKit/AirshipKit/ios/UABaseNativeBridge.m
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,10 @@ - (void)populateJavascriptEnvironmentIfWhitelisted:(UIView *)webView requestURL:
}

if (![[UAirship shared].whitelist isWhitelisted:url]) {
UA_LINFO(@"URL %@ is not whitelisted, not populating JS interface", url);
// Don't log in the special case of about:blank URLs
if (![url.absoluteString isEqualToString:@"about:blank"]) {
UA_LINFO(@"URL %@ is not whitelisted, not populating JS interface", url);
}
return;
}

Expand Down

0 comments on commit 1bf9f79

Please sign in to comment.