[Pidgin] #13539: Problem with HTTP special entities in XMPP links

Pidgin trac at pidgin.im
Mon Mar 21 08:37:14 EDT 2011


#13539: Problem with HTTP special entities in XMPP links
---------------------------+------------------------------------------------
 Reporter:  dibo           |     Owner:  deryni
     Type:  defect         |    Status:  new   
Component:  XMPP           |   Version:  2.7.11
 Keywords:  entities link  |  
---------------------------+------------------------------------------------
 Hi,

 I'm writting plugin which parse outgoing and incoming messages. I am
 connected to sent-im-msg and received-im-msg signal. In most cases pidgin
 automatically convert special entities (like & to &) in buffer param.
 Except this link:
 http://www.google.com?var1=a&var2=b
 If I send this link to my friend, in buffer param I get:
 <A
 HREF="http://www.google.com?var1=a&var2=b">http://www.google.com?var1=a&var2=b</A>
 .As you can see, it change "&" to "&" only in last link (I don't know
 why it change this to "A HREF" too). I noticed this problem only in XMPP
 protocol and only in sent-im-msg signal. On received-im-msg signal I get
 only this short correct link:
 http://www.google.com?var1=a&var2=b, so exactly same text what friend
 sent me but with convertet special entities. Notify that in logs links are
 correct (all have converted special entities)

 Regards and sorry for my english

-- 
Ticket URL: <http://developer.pidgin.im/ticket/13539>
Pidgin <http://pidgin.im>
Pidgin


More information about the Tracker mailing list