[Webkit-unassigned] [Bug 34011] New: invalidated KURLs can be used accidentally

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Jan 22 11:34:07 PST 2010


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

           Summary: invalidated KURLs can be used accidentally
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: All
        OS/Version: All
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P3
         Component: WebCore Misc.
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: bryeung at chromium.org
                CC: eseidel at chromium.org


If a KURL has a null base, it is marked as invalidated but the relative portion
is set as the URL.  These invalidated URLs can then be used accidentally, as
they do contain some data.  It seems that using KURLs with unvalidated relative
paths could cause problems, so I think it would be safer (and more correct) to
make the URL empty when a KURL is invalidated.

I'm going to do a bunch of testing to ensure this doesn't break anything, but
in the meantime wanted a bug to track opinions on this.

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