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 b5a9a8b418dc659653230aa351308f7f47728afe..34aec231bffc96906530394e7a90bf5aaddfc580 100644 |
--- a/webkit/fileapi/sandbox_mount_point_provider.cc |
+++ b/webkit/fileapi/sandbox_mount_point_provider.cc |
@@ -651,6 +651,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()) |
+ return url.inner_url() && IsAllowedScheme(*url.inner_url()); |
+ |
for (size_t i = 0; |
i < file_system_options_.additional_allowed_schemes().size(); |
++i) { |