[Webkit-unassigned] [Bug 167696] New: Correct "filesHaveSameVolume" predicate

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Feb 1 10:14:57 PST 2017


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

            Bug ID: 167696
           Summary: Correct "filesHaveSameVolume" predicate
    Classification: Unclassified
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: All
                OS: All
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebCore Misc.
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: bfulgham at webkit.org

In <https://trac.webkit.org/changeset/210599> I added a new file check related to disk volume. Unfortunately, I did not realize that this code could get entered with %-encoded strings. Since the implementation of this check involves calling POSIX and Windows API calls that expect "file system style" strings, rather than %-encoded URL-style strings, files with characters that are escaped in URLs would be improperly treated as if they did not exist.

Instead, we need to decode the URL escape sequences (if any) so that we present the underlying operating system with a correct file path.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20170201/25f03be7/attachment.html>


More information about the webkit-unassigned mailing list