Opened 6 years ago

#13539 new defect

Problem with HTTP special entities in XMPP links

Reported by: dibo Owned by: deryni
Milestone: Component: XMPP
Version: 2.7.11 Keywords: entities link
Cc:

Description

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 &amp;) 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&amp;var2=b</A> .As you can see, it change "&" to "&amp;" 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&amp;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

Change History (0)

Note: See TracTickets for help on using tickets.
All information, including names and email addresses, entered onto this website or sent to mailing lists affiliated with this website will be public. Do not post confidential information, especially passwords!