Bug 134190

Summary: Trim/strip whitespan in "Open <url>" context menu
Product: [Applications] konqueror Reporter: Daniel Hahler <kde-bugzilla>
Component: generalAssignee: Konqueror Developers <konq-bugs>
Status: RESOLVED WORKSFORME    
Severity: normal    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: testcases

Description Daniel Hahler 2006-09-17 04:04:51 UTC
Version:            (using KDE KDE 3.5.4)
Installed from:    Ubuntu Packages

When marking a text URL, Konqueror should strip any whitespace/linebreaks in there and at the end, when using it for the "Open <url>..." context menu.

E.g., if there's "http://example.com" at the end of a line on a webpage and you mark it by clicking at the beginning of the URL and moving the mouse down, Konqueror will open "http://example.com %0A" instead.

There are various combinations, where whitespace at the end of an URL may be present, and also of linebreaks/whitespace inside of an URL (e.g. if an URL gets wrapped by BR after X chars)

I'll attach some samples.
Comment 1 Daniel Hahler 2006-09-17 04:06:22 UTC
Created attachment 17800 [details]
testcases
Comment 2 Daniel Hahler 2007-04-16 23:08:31 UTC
This is a duplicate of Bug 113177, reported by myself. Sorry.