Bug 168701

Summary: URLs with square brackets [] not recognized
Product: [Applications] kmail Reporter: Jaromir Smrcek <jaromir.smrcek>
Component: messageviewerAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED WORKSFORME    
Severity: normal CC: ruchir.brahmbhatt
Priority: NOR Keywords: triaged
Version: 1.9.9   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:

Description Jaromir Smrcek 2008-08-08 08:11:24 UTC
Version:           1.9.9 (using 3.5.9, Gentoo)
Compiler:          Target: i686-pc-linux-gnu
OS:                Linux (i686) release 2.6.22-gentoo-r2

Kmail does not highlight certain links properly (possibly bad regexp), RFC 1738 specifies, that also "[" and "]" are part of the URL specification, but when mantis (bugtracking system) sends me an email wit these characters, higlighting ands just before "[".
Comment 1 Ruchir Brahmbhatt 2009-04-09 14:39:09 UTC
rfc 1738 is obsolete according to wikipedia. I can reproduce but not sure if this square brackets valid or not in URL.
Comment 2 Jaromir Smrcek 2009-04-09 14:50:20 UTC
Well I don't really care about RFC, but the Mantis development system (http://www.mantisbt.org/) uses such URLs, so they are used in the real world, thus needed to be readable by kmail for me...
Comment 3 Ruchir Brahmbhatt 2009-04-10 13:43:44 UTC
I found one url in bugzilla itself. J

https://bugs.kde.org/buglist.cgi?bug_status=NEW&bug_status=ASSIGNED&bug_status=REOPENED&bug_status=UNCONFIRMED&bugidtype=include&chfield=[Bug+creation]&chfieldfrom=3d&chfieldto=Now&bug_file_loc=&cmdtype=doit

How does it look in your kmail? I see whole hyperlink without any break.
Comment 4 Jaromir Smrcek 2009-04-10 14:12:57 UTC
In my kmail (1.9.9. using kde 3.5.9 from Gentoo stable x86) it is broken, the hyperlink ends just before the first '['.
Comment 5 Ruchir Brahmbhatt 2009-04-10 18:27:07 UTC
I get full URL on kmail 1.11.2.