Bug 134190 - Trim/strip whitespan in "Open <url>" context menu
Summary: Trim/strip whitespan in "Open <url>" context menu
Status: RESOLVED WORKSFORME
Alias: None
Product: konqueror
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: Konqueror Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-09-17 04:04 UTC by Daniel Hahler
Modified: 2007-04-16 23:08 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments
testcases (246 bytes, text/html)
2006-09-17 04:06 UTC, Daniel Hahler
Details

Note You need to log in before you can comment on or make changes to this bug.
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.