After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 126730 - Links detection fails with two or more subsequent links
Links detection fails with two or more subsequent links
Status: RESOLVED FIXED
Product: gossip
Classification: Deprecated
Component: General
unspecified
Other other
: Normal normal
: 0.7
Assigned To: Gossip Maintainers
Gossip Maintainers
Depends on:
Blocks:
 
 
Reported: 2003-11-11 15:42 UTC by Paul van Tilburg
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
see above (997 bytes, patch)
2003-12-13 16:38 UTC, Jonatan Magnusson
none Details | Review

Description Paul van Tilburg 2003-11-11 15:42:36 UTC
Package: gossip
Severity: minor
Version: unspecified
Synopsis: Links detection fails with two or more subsequent links
Bugzilla-Product: gossip
Bugzilla-Component: General

Description:
Description of Problem:
When a message is sent/received with two or more subsubsequent, some
links are concatenated and highlighting seems to skip
each other link.

Steps to reproduce the problem:

Send a message with the following (example) contents:
http://gnome.org http://debian.org http://luon.net
http://test.tld<return>

Actual Results:
http://gnome.orghttp://debian.org http://luon.net http://test.tld

The first two links seem to be concatenated (space is gone) and the
whole is highlighted, the 'http://luon.net' isn't highlighted
at all and http://test.tld is highlighted again.

Expected Results:
The 4 links, space seperated and highlighted/clickable.

This happens every time using the CVS version of 20031111

Additional comments:
When the URLs have a trainling '/', the 'concatenation' problem seems
solved, but the each other link highlighting problem
stays.




------- Bug moved to this database by unknown@bugzilla.gnome.org 2003-11-11 10:42 -------

Reassigning to the default owner of the component, gossip-maint@bugzilla.gnome.org.

Comment 1 Mikael Hallendal 2003-12-10 22:01:49 UTC
Marking for 0.7, should be easy enough to fix.
Comment 2 Jonatan Magnusson 2003-12-13 16:38:00 UTC
The following patch solves that problem.

There is also a bug when recieving multiple urls in the same message.
Some (most) of them are not recognized. The patch solves that problem
as well.
Comment 3 Jonatan Magnusson 2003-12-13 16:38:45 UTC
Created attachment 22410 [details] [review]
see above
Comment 4 Mikael Hallendal 2003-12-13 16:58:26 UTC
Thanks, commited!