<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.kde.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugs.kde.org/"
          
          maintainer="sysadmin@kde.org"
>

    <bug>
          <bug_id>270345</bug_id>
          
          <creation_ts>2011-04-07 19:12:12 +0000</creation_ts>
          <short_desc>URL parser recognizes addresses starting with http:// or https:// only</short_desc>
          <delta_ts>2012-07-06 12:47:19 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>10</classification_id>
          <classification>Unmaintained</classification>
          <product>telepathy</product>
          <component>text-ui</component>
          <version>git-latest</version>
          <rep_platform>Compiled Sources</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>NOR</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>0.4.0</target_milestone>
          
          
          <everconfirmed>0</everconfirmed>
          <reporter name="Kai Uwe Broulik">KaiUweBroulik2</reporter>
          <assigned_to name="Telepathy Bugs">kde-telepathy-bugs-null</assigned_to>
          
          
          <cf_commitlink></cf_commitlink>
          <cf_versionfixedin></cf_versionfixedin>
          <cf_sentryurl></cf_sentryurl>
          <votes>0</votes>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1105192</commentid>
    <comment_count>0</comment_count>
    <who name="Kai Uwe Broulik">KaiUweBroulik2</who>
    <bug_when>2011-04-07 19:12:12 +0000</bug_when>
    <thetext>Version:           git-latest (using KDE 4.6.1) 
OS:                Linux

The only addresses the URL parser accepts are:
http://example.com/parameters/?everything=is&amp;fine=here#andso
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.

Reproducible: Always</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1105205</commentid>
    <comment_count>1</comment_count>
    <who name="Lasse Liehu">lasse.liehu</who>
    <bug_when>2011-04-07 19:32:40 +0000</bug_when>
    <thetext>I just noticed a message like:

&quot;http://www.kde.org
foobar foo&quot; (in HTML &quot;http://www.kde.org&lt;br/&gt;foobar&quot;)

will become like this in HTML:
&quot;&lt;a href=&quot;http://www.kde.org&quot;&gt;http://www.kde.org&lt;br/&gt;foobar&lt;/a&gt; foo&quot;

because the newline &quot;&lt;br/&gt;&quot; is parsed as being part of the url.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1106701</commentid>
    <comment_count>2</comment_count>
    <who name="Francesco Nwokeka">francesco.nwokeka</who>
    <bug_when>2011-04-11 14:41:05 +0000</bug_when>
    <thetext>Git commit a2ccf85e6cb3be91f8033c9f3b93235910c545f2 by Francesco Nwokeka.
Committed on 11/04/2011 at 14:51.
Pushed by nwokeka into branch &apos;master&apos;.

Fix bug 270345 : URL parser recognizes addresses starting with http:// or https:// only

now smb, ftp links are detected as well

BUG: 270345
REVIEW: David Edmundson

M  +14   -2    lib/adium-theme-view.cpp     

http://commits.kde.org/telepathy-chat-handler/a2ccf85e6cb3be91f8033c9f3b93235910c545f2</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>