[Webkit-unassigned] [Bug 156799] File URLs should be passed through 'fileSystemRepresentation' before use

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Apr 22 14:02:43 PDT 2016


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

Brent Fulgham <bfulgham at webkit.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |INVALID

--- Comment #2 from Brent Fulgham <bfulgham at webkit.org> ---
I reviewed the various places where a file path is retrieved from a URL. It looks like in all cases we call fileSystemRepresentation on the path (or hand it to a function that in turn calls fileSystemRepresentation on its argument).

The two places in WebProcessProxy that use the method do so to retrieve a string for later use in comparing with a path. Since that paths in both places are retrieved without calling fileSystemRepresentation, it seemed better to leave these unmodified since the extra conversion wouldn't provide any additional safety, but would incur a runtime penalty.

-- 
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/20160422/0bc7f457/attachment.html>


More information about the webkit-unassigned mailing list