Bug 25940 - curl/ResourceHandleManager leaves a question mark when stripping queries from file URLs
Summary: curl/ResourceHandleManager leaves a question mark when stripping queries from...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKit wx (show other bugs)
Version: 528+ (Nightly build)
Hardware: PC All
: P2 Minor
Assignee: Kevin Ollivier
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-05-21 10:14 PDT by Kevin Watters
Modified: 2009-05-21 18:10 PDT (History)
0 users

See Also:


Attachments
fixes an off by one error when stripping the query part from file:// urls (1.40 KB, patch)
2009-05-21 10:15 PDT, Kevin Watters
kevino: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Kevin Watters 2009-05-21 10:14:27 PDT
platform/network/curl/ResourceHandleManager.cpp's initializeHandle method attempts to strip the query part of a file:// URL before sending initializing a cURL handle  with it. It leaves the question mark, however, which results in a failure to find the file.
Comment 1 Kevin Watters 2009-05-21 10:15:44 PDT
Created attachment 30547 [details]
fixes an off by one error when stripping the query part from file:// urls
Comment 2 Kevin Ollivier 2009-05-21 18:10:56 PDT
Landed in r44018, thanks!