Chromium Code Reviews| 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 e79624eaa791cc7accb97f7327dcb27736a2583f..f47fb1eabedd2c690316786e9a2ca3cb21a5900c 100644 |
| --- a/webkit/fileapi/sandbox_mount_point_provider.cc |
| +++ b/webkit/fileapi/sandbox_mount_point_provider.cc |
| @@ -635,6 +635,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()); |
|
abarth-chromium
2012/02/15 08:43:20
I wonder if places like this should be able to che
ericu
2012/02/15 22:48:09
Eventually, probably...once we decide what all we
|
| + |
| for (size_t i = 0; |
| i < file_system_options_.additional_allowed_schemes().size(); |
| ++i) { |