(*** This bug was imported into bugs.kde.org ***) Package: kmail Version: KDE 2.9.1 CVS/CVSup/Snapshot Severity: normal Installed from: Compiled sources Compiler: Not Specified OS: Linux OS/Compiler notes: Not Specified http:// links are broken in messages due to parenthesis () example: http://redhat.com/~mingo/O(1)-scheduler/sched-O1-2.4.18-pre7-K2.patch clicking this link in a message goes to this url: http://redhat.com/~mingo/O so it gets broken just before the parenthesis this happens from a cvsup snapshot from last week of january aprox. (Submitted via bugs.kde.org)
Still broken in KMail 1.9.1
Still not working in KMail 1.9.6
*** Bug 140367 has been marked as a duplicate of this bug. ***
Related to bug 81281. Could easily be fixed, but not just by extending the accepted characters - otherwise text like this: Try my kewl new web site (http://www.leet.com)! would match more than wanted. If brackets/parentheses are to be accepted, then they should be counted and balanced - but it's not possible to do that with a simple regexp match.
*** Bug 145075 has been marked as a duplicate of this bug. ***
Jonathan, you mean the external brackets should be counted? It leads to parsing the whole message -- would it not slow down displaying it? I would opt only for checking the "opening" character before http, if it is [({ cut the last one if it is only a counterpart.
> but it's not possible to do that with a simple regexp match. Konqueror does it right. Why don't KMail just use the same mechanism as Konqueror and everything is fine. This bug is now more than fife years old, please ...
> Konqueror does it right. I quote myself here after I noticed how stupid my statement was. I need some sleep :-) Konqueror does it right because of the provided HTML tags, KMail does not have those tags and must parse/guess... Sorry for my nonsense.
Regarding comment #6, that won't work in cases such as: Try my kewl new web site (click on http://www.leet.com)! Counting brackets shouldn't involve scanning the entire message - they only need to be counted and properly balanced within the URL. This would fix the two examples in this and bug 145075, at least.
Works with KDE 4.3.1, including the case of the last comment.