Skip to content

Commit ca19084

Browse files
authored
fix(PluginManager): AllowNavigation default policy to handle scheme & hostname (#1349)
1 parent aea6b7f commit ca19084

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

framework/src/org/apache/cordova/PluginManager.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -455,7 +455,7 @@ public boolean shouldAllowNavigation(String url) {
455455
}
456456

457457
// Default policy:
458-
return url.startsWith("file://") || url.startsWith("about:blank");
458+
return url.startsWith(getLaunchUrlPrefix()) || url.startsWith("about:blank");
459459
}
460460

461461

0 commit comments

Comments
 (0)