[web_engine] Fix leading slash issue with ContentDirectoryProvider.
The use of leading slashes causes path validation issues in VFS implementations like vfs::PseudoDir. This fixes the issue by discarding the leading slash from the path component of requested URLs. Adds a browser test which validates the use of PseudoDir and VfsFile with ContentDirectoryProvider. Bug: 1011180 Change-Id: I2b47ad35023be73cc32538f83b166ebaa9b85f9f Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1848411 Commit-Queue: Kevin Marshall <kmarshall@chromium.org> Reviewed-by:David Dorwin <ddorwin@chromium.org> Auto-Submit: Kevin Marshall <kmarshall@chromium.org> Cr-Commit-Position: refs/heads/master@{#704829}
Showing
Please register or sign in to comment