[Webkit-unassigned] [Bug 44132] Implement virtual path utilities for FileSystem API

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Aug 24 16:25:03 PDT 2010


https://bugs.webkit.org/show_bug.cgi?id=44132





--- Comment #12 from Eric U. <ericu at chromium.org>  2010-08-24 16:25:03 PST ---
(In reply to comment #11)
> (In reply to comment #9)
> > (From update of attachment 65211 [details] [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.

OK, LGTM.  Now you need a reviewer ;'>.

-- 
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