mirror of
https://github.com/apache/cordova-android.git
synced 2025-05-13 14:51:40 +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:
|
// Default policy:
|
||||||
if (url.startsWith("data:") || url.startsWith("about:blank")) {
|
if (url.startsWith("blob:") || url.startsWith("data:") || url.startsWith("about:blank")) {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
if (url.startsWith("file://")) {
|
if (url.startsWith("file://")) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user