[Webkit-unassigned] [Bug 36692] Redo the file:// origin separation

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Mar 29 00:16:34 PDT 2010


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


Adam Barth <abarth at webkit.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #51876|review?                     |review-
               Flag|                            |




--- Comment #9 from Adam Barth <abarth at webkit.org>  2010-03-29 00:16:34 PST ---
(From update of attachment 51876)
+    if (m_protocol == "file") {
+        String str("file://");
+        if (m_enforceFilePathSeparation)
+            str += m_filePath;

This code is still wrong.  As I said above, this value is exposed to web
content and we can't just go changing it.  Making the code conditional on
m_enforceFilePathSeparation doesn't solve the problem of giving providing the
wrong string to JavaScript.

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