-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi

I found the reason for bug 1220176
(http://sourceforge.net/tracker/index.php?func=detail&aid=1220176&group_id=254&atid=100254).

bug description:
 every url with a protocol specifier (http://, ftp://,
 rsync://, ...) will get truncated in the message view
 for licq clients.

 e.g. enter:
 visit: "http://www.heise.de";
 result:
 visit: "

In line 99 of mlview3.cpp there needs to be changed one number.


       QRegExp reURL("(\\b|^)(\\w+://\\S+)(\\s|$|\\n)");
       reURL.setMinimal(true);
       pos = 0;
       while ( (pos = text.find(reURL, pos)) != -1 ) {
- -          QString url = reURL.cap(2);
+          QString url = reURL.cap(1);
          QString link = QString::fromLatin1("<a href=\"") + url +
QString::fromLatin1("\">") + url + QString::fromLatin1("</a>");


regards
rsLeo
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFEJQd/uFcJvHsEu9gRAnprAKCMXuseFcwgnKQCjoESV1U+bb0DOgCfcE73
e2QX5xPpTOJsH8RaVEkKvDg=
=qSpE
-----END PGP SIGNATURE-----


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Licq-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/licq-devel

Reply via email to