Bug 86721 - [GTK] KURL::fileSystemPath() should strip the query of the uri
Summary: [GTK] KURL::fileSystemPath() should strip the query of the uri
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKitGTK (show other bugs)
Version: 528+ (Nightly build)
Hardware: PC Linux
: P2 Normal
Assignee: Nobody
Depends on:
Reported: 2012-05-17 05:10 PDT by Carlos Garcia Campos
Modified: 2012-05-17 23:31 PDT (History)
2 users (show)

See Also:

Patch (1.37 KB, patch)
2012-05-17 05:13 PDT, Carlos Garcia Campos
mrobinson: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
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]
Comment 2 Carlos Garcia Campos 2012-05-17 23:31:54 PDT
Committed r117549: <http://trac.webkit.org/changeset/117549>