[Pidgin] #7302: Quote without escaping it

Pidgin trac at pidgin.im
Mon Oct 20 18:40:13 EDT 2008


#7302: Quote without escaping it
-----------------------+----------------------------------------------------
 Reporter:  boneymtom  |        Owner:  deryni     
     Type:  defect     |       Status:  pending    
Milestone:             |    Component:  Google Talk
  Version:  2.5.1      |   Resolution:             
 Keywords:             |  
-----------------------+----------------------------------------------------
Changes (by datallah):

  * status:  new => pending
  * component:  XMPP => Google Talk


Comment:

 Is the Gtalk server involved here?

 It looks like it is actually a server problem - we're sending the `"` as
 `"`, but when it gets through the server, it gets unescaped.

 This is what we're sending:

 {{{
 (18:09:32) jabber: Sending (ssl):
 <message type='chat' id='purple21570b7c' to='daniel.atallah at gmail.com'>
   <x xmlns='jabber:x:event'><composing/></x>
   <active xmlns='http://jabber.org/protocol/chatstates'/>
   <body>"</body>
   <html xmlns='http://jabber.org/protocol/xhtml-im'>
     <body xmlns='http://www.w3.org/1999/xhtml'>"</body>
   </html>
 </message>
 }}}


 Here is where it comes out the other end and the `quot;` has been
 magically replaced with `"`:
 {{{
 (18:09:32) jabber: Recv (ssl)(341):
 <message from="datallah at jabber.org/Rutherfordium"
 to="daniel.atallah at gmail.com" type="chat" id="purple21570b7c">
   <x xmlns="jabber:x:event"><composing/></x>
   <active xmlns="http://jabber.org/protocol/chatstates"/>
   <body>"</body>
   <html xmlns="http://jabber.org/protocol/xhtml-im">
     <body xmlns="http://www.w3.org/1999/xhtml">"</body>
   </html>
 </message>
 }}}

 I tried with some other servers and I can't recreate the issue there, so
 my guess it is a gtalk server bug.

 Oddly enough, it also doesn't appear to happen with every message sent to
 a gtalk buddy, but it appears to happen consistently with the first
 message I send to a gtalk buddy after signing on.

-- 
Ticket URL: <http://developer.pidgin.im/ticket/7302#comment:4>
Pidgin <http://pidgin.im>
Pidgin


More information about the Tracker mailing list