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

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");
}