fix(PluginManager): AllowNavigation default policy to handle scheme & hostname (#1349)

This commit is contained in:
エリス 2021-09-13 15:48:02 +09:00 committed by GitHub
parent aea6b7f6f4
commit ca19084b1c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -455,7 +455,7 @@ public class PluginManager {
}
// Default policy:
return url.startsWith("file://") || url.startsWith("about:blank");
return url.startsWith(getLaunchUrlPrefix()) || url.startsWith("about:blank");
}