| Index: third_party/WebKit/Source/modules/filesystem/DOMFilePath.cpp
|
| diff --git a/third_party/WebKit/Source/modules/filesystem/DOMFilePath.cpp b/third_party/WebKit/Source/modules/filesystem/DOMFilePath.cpp
|
| index 8e83278469e848b20c55c21ce259069a101d0a51..a9f91a421ae58094d319dc84ce41b9ae4f400fc5 100644
|
| --- a/third_party/WebKit/Source/modules/filesystem/DOMFilePath.cpp
|
| +++ b/third_party/WebKit/Source/modules/filesystem/DOMFilePath.cpp
|
| @@ -111,11 +111,13 @@ bool DOMFilePath::isValidPath(const String& path) {
|
| if (path.find(static_cast<UChar>(0)) != WTF::kNotFound)
|
| return false;
|
|
|
| - // While not [yet] restricted by the spec, '\\' complicates implementation for Chromium.
|
| + // While not [yet] restricted by the spec, '\\' complicates implementation for
|
| + // Chromium.
|
| if (path.find('\\') != WTF::kNotFound)
|
| return false;
|
|
|
| - // This method is only called on fully-evaluated absolute paths. Any sign of ".." or "." is likely an attempt to break out of the sandbox.
|
| + // This method is only called on fully-evaluated absolute paths. Any sign of
|
| + // ".." or "." is likely an attempt to break out of the sandbox.
|
| Vector<String> components;
|
| path.split(DOMFilePath::separator, components);
|
| for (size_t i = 0; i < components.size(); ++i) {
|
|
|