[Bug 278790] New: Telepathy chat handler places emoticons in URLs

Geert Lamers biert85 at gmail.com
Fri Jul 29 17:03:13 CEST 2011


https://bugs.kde.org/show_bug.cgi?id=278790

           Summary: Telepathy chat handler places emoticons in URLs
           Product: telepathy
           Version: git-latest
          Platform: Gentoo Packages
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: minor
          Priority: NOR
         Component: text-chat-ui
        AssignedTo: kde-telepathy at kde.org
        ReportedBy: biert85 at gmail.com


Created an attachment (id=62306)
 --> (http://bugs.kde.org/attachment.cgi?id=62306)
Patch to fix wrongly parsed urls containing emoticons.

Version:           git-latest (using KDE 4.7.0) 
OS:                Linux

When a chat partner sends a URL, the chat handler replaces emoticons before the
message is parsed for links. Any URL containing an emoticon is then no longer
recognised as URL and thus not converted to link. In my case, the ':/' part of
the protocol is replaced, rendering 90% of all links received unclickable.

Reproducible: Always

Steps to Reproduce:
Send (or receive) a URL containing a character sequence that is supposed to be
replaced by an emoticon (for example, a URL prefixed with the protocol, where
':/' may be replaced by an emoticon (depends on emoticon theme)).

Actual Results:  
A funny face appears in the middle of the URL, link cannot be clicked.

Expected Results:  
No funny face, clickable link.

I've added a patch that reverses the order (parse for links first, then for
emoticons) that seems to fix it.

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the KDE-Telepathy mailing list