Bug 228661 - URL detection gives wrong URL, if at the end of a line
Summary: URL detection gives wrong URL, if at the end of a line
Status: RESOLVED LATER
Alias: None
Product: konsole
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: Konsole Developer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-02-26 20:52 UTC by Torde
Modified: 2011-08-21 06:42 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Torde 2010-02-26 20:52:58 UTC
Version:            (using KDE 4.3.5)
OS:                Linux
Installed from:    Ubuntu Packages

The problem is that if an URL (eg. a link in a e-mail read by pine) is located at the end of a line, and it doesn't continue on the next line, konsole underlines the URL, the next lines and everything up until the first end-of-word. Now if you open this link, it includes extra characters to the end and therefore the URL will not work unless you manually remove them.

Example: 

I'm reading a mail in Pine and it says:

""
See our new webpages at: http://www.kde.org

Pages include new content etc. ""

Hovering the URL underlines "http://www.kde.org<newline><newline>Pages", and not just the URL "http://www.kde.org" like it should.

Also the URL detection doesn't terminate the url with some characters nor ')' if the URL is in paranthesis.
Comment 1 Kurt Hindenburg 2011-03-03 22:00:37 UTC
Yes, you are correct
Comment 2 Jekyll Wu 2011-07-16 06:41:44 UTC
Is this bug still valid? I can't reproduce it with 2.7.999
Comment 3 Jekyll Wu 2011-08-21 06:42:54 UTC
Can't reproduce it with KDE-4.7.0. That parenthesis problem would be #210871.

Feel free to reopen if this still happens in recent version.