Index: webkit/fileapi/sandbox_mount_point_provider.cc |
diff --git a/webkit/fileapi/sandbox_mount_point_provider.cc b/webkit/fileapi/sandbox_mount_point_provider.cc |
index 1b2dc96ed4efe038765230289427eb2ca4621328..f6eb5fd290ac79d27eb34f5fe563425ab4ee6fc1 100644 |
--- a/webkit/fileapi/sandbox_mount_point_provider.cc |
+++ b/webkit/fileapi/sandbox_mount_point_provider.cc |
@@ -637,6 +637,9 @@ bool SandboxMountPointProvider::IsAllowedScheme(const GURL& url) const { |
// only if --allow-file-access-from-files flag is given. |
if (url.SchemeIs("http") || url.SchemeIs("https")) |
return true; |
+ if (url.SchemeIsFileSystem() && url.inner_url()) |
+ return IsAllowedScheme(*url.inner_url()); |
+ |
for (size_t i = 0; |
i < file_system_options_.additional_allowed_schemes().size(); |
++i) { |