mirror of
https://github.com/apache/cordova-android.git
synced 2025-01-31 17:32:51 +08:00
Log a warning when a navigation is blocked by the whitelist
This commit is contained in:
parent
f1d093548e
commit
c237a1c0d2
@ -608,6 +608,7 @@ public class CordovaWebViewImpl implements CordovaWebView {
|
||||
}
|
||||
return true;
|
||||
}
|
||||
LOG.w(TAG, "Blocked navigation because URL was not whitelisted: " + url);
|
||||
// Block by default
|
||||
return true;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user