Bug 19993 - curl backend appends a '#' at the end of urls
Summary: curl backend appends a '#' at the end of urls
Status: RESOLVED DUPLICATE of bug 19978
Alias: None
Product: WebKit
Classification: Unclassified
Component: Platform (show other bugs)
Version: 528+ (Nightly build)
Hardware: PC OS X 10.5
: P2 Normal
Assignee: Nobody
URL: http://www.fdn.fr/~arenevier/tmp/bug_...
Depends on:
Reported: 2008-07-10 16:23 PDT by arno.
Modified: 2008-07-11 16:10 PDT (History)
0 users

See Also:

calls setRef with String("") instead of "" (866 bytes, patch)
2008-07-10 16:26 PDT, arno.
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description arno. 2008-07-10 16:23:43 PDT
Hi, when trying to get a url, curl backend appends a '#' at end of every urls. Some servers correct that, but some other don't. So, many pages won't load. See http://www.fdn.fr/~arenevier/tmp/bug_webkit.php it gives the content of php variable $_SERVER[REQUEST_URI] with is the uri asked by webkit.
Comment 1 arno. 2008-07-10 16:26:06 PDT
Created attachment 22228 [details]
calls setRef with String("") instead of ""

as it seems that "" will not be considered to be null in KURL::setRef, kurl.setRef(String()) will return a null string whereas  kurl.setRef("") will return a '#'. I think comes from that place
Comment 2 Mark Rowe (bdash) 2008-07-10 16:32:44 PDT

*** This bug has been marked as a duplicate of 19978 ***
Comment 3 Jan Alonzo 2008-07-11 15:46:22 PDT
Hi Arno

I just landed (r35137) the reviewed patch to bug 19978 which is a duplicate of this bug. Can you please set the review bit to '-' or set it to not for review even?