Bug 267826

Summary: kpart-webkit does not load urls with whitespaces in it
Product: [Frameworks and Libraries] kwebkitpart Reporter: Christian Weilbach <christian_weilbach>
Component: generalAssignee: webkit-devel
Status: RESOLVED WORKSFORME    
Severity: normal CC: adawit
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Christian Weilbach 2011-03-06 21:12:25 UTC
Version:           4.6.0 (using KDE 4.6.1) 
OS:                Linux

Urls, such as the one below (expanded via a url-shorting service from choqok) don't load in kpart-webkit, but load in khtml. QWebkit browsers like Arora or Rekonq don't have a problem with it. Konqueror does not throw an error it simply draws the canvas of the kpart in the background color and stops loading.

http://stallman.org/archives/2011-jan-apr.html#05 March 2011 (Iran rights abuse investigation)

When I escape the URL with %20 instead of whitespaces it simply reloads the url unescaped with the whitespaces breaking it again. This makes browsing with konqueror + webkit-kpart a no-go for me as it happens on many urls.

Reproducible: Always

Steps to Reproduce:
Load a URL like: http://stallman.org/archives/2011-jan-apr.html#05 March 2011 (Iran rights abuse investigation) in konqueror + kpart-webkit

Actual Results:  
Loading nothing.

Expected Results:  
Loading the website.
Comment 1 Dawit Alemayehu 2011-03-09 15:01:37 UTC
(In reply to comment #0)
> Version:           4.6.0 (using KDE 4.6.1) 
> OS:                Linux
> 
> Urls, such as the one below (expanded via a url-shorting service from choqok)
> don't load in kpart-webkit, but load in khtml. QWebkit browsers like Arora or
> Rekonq don't have a problem with it. Konqueror does not throw an error it
> simply draws the canvas of the kpart in the background color and stops loading.
> 
> http://stallman.org/archives/2011-jan-apr.html#05 March 2011 (Iran rights abuse
> investigation)

That url works fine for me. What version of kwebkitpart is installed on your system ?