mirror of
https://github.com/apache/cordova-android.git
synced 2025-02-20 23:56:20 +08:00
CB-8608 Add blob:
to default shouldAllowRequest policy
This commit is contained in:
parent
62c081dc85
commit
489e63f8e7
@ -325,7 +325,7 @@ public class PluginManager {
|
||||
}
|
||||
|
||||
// Default policy:
|
||||
if (url.startsWith("data:") || url.startsWith("about:blank")) {
|
||||
if (url.startsWith("blob:") || url.startsWith("data:") || url.startsWith("about:blank")) {
|
||||
return true;
|
||||
}
|
||||
if (url.startsWith("file://")) {
|
||||
|
Loading…
Reference in New Issue
Block a user