Bug 228661

Summary: URL detection gives wrong URL, if at the end of a line
Product: [Applications] konsole Reporter: Torde <asklemet>
Component: generalAssignee: Konsole Developer <konsole-devel>
Status: RESOLVED LATER    
Severity: normal CC: adaptee
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:

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.