Disallow links from being seen by the extensions via the fileapi.
This change is more of a hack at the moment, ideally we need to refactor file_util (and maybe a bit of file_path) to provide better ways to handle symlinks.
This fix prevents exploits reading arbitary files either through handled extension calls or our component extension.

BUG=chromium-os:15826
TEST=Verified that links do not show up when reading a directory in the file browser UI. Tests that specifically check for this will follow in subsequent checkins.

Review URL: http://codereview.chromium.org/7085005

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@87389 0039d316-1c4b-4281-b951-d872f2087c98


CrOS-Libchrome-Original-Commit: cd78ad53a576b3a3c10202512a1c5b7153bc6586
2 files changed
tree: 952c9c8b821c06366963bdcea76e46a728d8b7d5
  1. base/
  2. build/
  3. ipc/
  4. testing/
  5. third_party/