Bug 168701 - URLs with square brackets [] not recognized
Summary: URLs with square brackets [] not recognized
Status: RESOLVED WORKSFORME
Alias: None
Product: kmail
Classification: Applications
Component: messageviewer (show other bugs)
Version: 1.9.9
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords: triaged
Depends on:
Blocks:
 
Reported: 2008-08-08 08:11 UTC by Jaromir Smrcek
Modified: 2009-04-10 18:27 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

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