[Pidgin] #16328: /invite sends new line with command

Pidgin trac at pidgin.im
Wed Aug 27 16:10:51 EDT 2014


#16328: /invite sends new line with command
----------------------+-------------------------
 Reporter:  luizluca  |      Owner:  deryni
     Type:  defect    |     Status:  new
Milestone:  2.10.10   |  Component:  XMPP
  Version:  2.10.9    |   Keywords:  xmpp invite
----------------------+-------------------------
 Hello

 I invited a user to a muc using:

 /invite use at domain

 However, instead of typing it, I copied it from a text editor. Besides the
 text, I copied the new line (select using triple click or from the
 beginning of a line until the beginning of the next line)

 The result is that the added user was (from ejabberd mnesia dump):
 {{<<"user">>,<<"domain ">>,<<>>},

 Notice the space after the domain. From a hexdump in mnesia files, it was
 really saved as a space.

 I was able to remove the users using the "/affiliate none" and replaying
 the copy procedure. However, pidgin should not send the newline (even as a
 space) in the invite command (and probably others).

 I reported this to ejabberd but their answer is that the client should not
 send the extra space and the RFC does not specify that the server might
 trim the string.

 For reference, this is ejabberd bug report:
 https://support.process-one.net/browse/EJAB-1713

--
Ticket URL: <https://developer.pidgin.im/ticket/16328>
Pidgin <https://pidgin.im>
Pidgin


More information about the Tracker mailing list