Bug 108021 - malformed link when clicking on it
Summary: malformed link when clicking on it
Status: RESOLVED FIXED
Alias: None
Product: konversation
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: Konversation Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-06-23 21:52 UTC by Mike Unke
Modified: 2005-06-24 17:07 UTC (History)
0 users

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 Mike Unke 2005-06-23 21:52:52 UTC
Version:           0.18 #3016 (using KDE 3.4.1, compiled sources)
Compiler:          gcc version 3.3.4 (pre 3.3.5 20040809)
OS:                Linux (i686) release 2.6.8-24.16-default

In the normal chat-window I receive the following message:
(www.abc.de) My Homepage - www.abc.de :: RE: Neuer Test <http://www.abc.de/./viewtopic.php?p=12579#12579>

All three links are clickable. The first two are ok, but the last one directs me to this adress which ist obvious wrong:
http://http//www.abc.de/./viewtopic.php?p=12579#12579

This bug is reproducable if I copy & paste the received message and send it again to the channel.
Comment 1 Stephan Binner 2005-06-24 16:30:33 UTC
Experienced problems with more than one link per line too...
Comment 2 Ismail Donmez 2005-06-24 17:07:35 UTC
SVN commit 428545 by cartman:

Reset protocol so multiple links works as expected.
BUG:108021



 M  +1 -0      common.cpp  


--- trunk/extragear/network/konversation/src/common.cpp #428544:428545
@@ -78,6 +78,7 @@
   }
 
   while((pos = urlPattern.search(filteredLine, pos)) >= 0) {
+    protocol="";
     urlLen = urlPattern.matchedLength();
     href = filteredLine.mid( pos, urlLen );