Version: git-latest (using KDE 4.6.1)
The only addresses the URL parser accepts are:
and it accepts whatever special character there may be (German Umlauts, %, #, comma etc which is really good) BUT:
It only marks an URL as clickable link if it is preceded by a http://
So if you enter www.kde.org it will not make it clickable. http://kde.org or https://kde.org works though.
Also, ftp:// is not recognized. (Not to mention fish, smb, etc but those aren‘t important).
E-Mail adresses are also not clickable.
I just noticed a message like:
foobar foo" (in HTML "http://www.kde.org<br/>foobar")
will become like this in HTML:
"<a href="http://www.kde.org">http://www.kde.org<br/>foobar</a> foo"
because the newline "<br/>" is parsed as being part of the url.
Git commit a2ccf85e6cb3be91f8033c9f3b93235910c545f2 by Francesco Nwokeka.
Committed on 11/04/2011 at 14:51.
Pushed by nwokeka into branch 'master'.
Fix bug 270345 : URL parser recognizes addresses starting with http:// or https:// only
now smb, ftp links are detected as well
REVIEW: David Edmundson
M +14 -2 lib/adium-theme-view.cpp