[Pidgin] #12170: Pidgin repeatedly disconnects from jabber, if there're messages containing  in a conference

Pidgin trac at pidgin.im
Mon Jun 14 23:36:18 EDT 2010


#12170: Pidgin repeatedly disconnects from jabber, if there're messages containing
 in a conference
----------------------------------------------------+-----------------------
 Reporter:  sergem                                  |        Owner:  deryni   
     Type:  rejected_patch                          |       Status:  closed   
Milestone:                                          |    Component:  XMPP     
  Version:  2.7.0                                   |   Resolution:  duplicate
 Keywords:  xmpp jabber disconnect chat conference  |  
----------------------------------------------------+-----------------------
Changes (by darkrain42):

  * status:  new => closed
  * type:  defect => rejected_patch
  * resolution:  => duplicate


Comment:

 Closed as duplicate of #6031.[[BR]]This has been reported multiple times
 (#6031 just happens to be the one I found via Google first).  It's a bug
 in Openfire (and possibly other servers, but that's the only one I'm aware
 of), which MUST NOT accept malformed XML (although Psi probably shouldn't
 be allowed to generate it -- libpurple no longer generates IMs with ASCII
 control characters, and I know Gajim also strips them out).

 Both RFC 3920 and its almost-finished-with-last-call replacement
 [http://tools.ietf.org/html/draft-ietf-xmpp-3920bis draft-ietf-xmpp-
 3920bis] say that an entity MUST disconnect on receiving invalid XML

 Quoting from [http://tools.ietf.org/html/draft-ietf-xmpp-
 3920bis-08#section-11.3 draft-ietf-xmpp-3920bis 11.3]:
 {{{
    An XMPP entity MUST NOT generate data that is not XML-well-formed.
    An XMPP entity MUST NOT accept data that is not XML-well-formed;
    instead it MUST return an <xml-not-well-formed/> stream error and
    close the stream over which the data was received.}}}

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


More information about the Tracker mailing list