Bug 19993

Summary: curl backend appends a '#' at the end of urls
Product: WebKit Reporter: arno. <a.renevier>
Component: PlatformAssignee: Nobody <webkit-unassigned>
Severity: Normal    
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: PC   
OS: OS X 10.5   
URL: http://www.fdn.fr/~arenevier/tmp/bug_webkit.php
Description Flags
calls setRef with String("") instead of "" none

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?