Bug 86721

Summary: [GTK] KURL::fileSystemPath() should strip the query of the uri
Product: WebKit Reporter: Carlos Garcia Campos <cgarcia>
Component: WebKitGTKAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: gustavo, pnormand
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: PC   
OS: Linux   
Attachments:
Description Flags
Patch mrobinson: review+

Description Carlos Garcia Campos 2012-05-17 05:10:38 PDT
If the url contains a query, the path returned by KURL::fileSystemPath() should not include the query. This happens when the inspector is loaded docked in wk2. The uri contains ?docked=true. The inspector proxy installs its own policy client to ignore any request not coming from the inspector base URL. To check urls it uses KURL::fileSystemPath() to make sure request are local files and from the inspector directory.
Comment 1 Carlos Garcia Campos 2012-05-17 05:13:47 PDT
Created attachment 142455 [details]
Patch
Comment 2 Carlos Garcia Campos 2012-05-17 23:31:54 PDT
Committed r117549: <http://trac.webkit.org/changeset/117549>