[FSA] Add IsSafePathComponent checks to GetFile/GetDirectoryHandle.
This isn't directly using net::IsSafePortablePathComponent since what is safe for the File System Access API is not the same as what is safe for Downloads. As such currently this duplicates a lot of the implementation of this method, but in a followup we should attempt to unify these two implementations as much as possible. Bug: 1150810, 1154757 Change-Id: Iba4c92ef5f1cd924aa22b9dd201762d48b4bbc3b Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2568383 Commit-Queue: Marijn Kruisselbrink <mek@chromium.org> Reviewed-by:Victor Costan <pwnall@chromium.org> Cr-Commit-Position: refs/heads/master@{#833042}
Showing
Please register or sign in to comment