[Webkit-unassigned] [Bug 44132] Implement virtual path utilities for FileSystem API
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Tue Aug 24 11:13:46 PDT 2010
https://bugs.webkit.org/show_bug.cgi?id=44132
--- Comment #11 from Kinuko Yasuda <kinuko at chromium.org> 2010-08-24 11:13:46 PST ---
(In reply to comment #9)
> (From update of attachment 65211 [details])
> WebCore/storage/DOMFilePath.cpp:124
> + DEFINE_STATIC_LOCAL(RegularExpression, unallowedNamesRegExp1, ("/(CON|PRN|AUX|NUL)([\\./]|$)", TextCaseInsensitive));
> Ah, I think I see how this is supposed to work. However, you're requiring a leading '/' before matching for e.g. "CON". If this isn't an absolute path, that's not safe. "CON" and "CON/safe/rest/of/path" will pass the test. Or you could assert and document that the input path must be absolute.
Right, fixed.
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list