Opened 5 years ago

Last modified 5 years ago

#16328 new defect

/invite sends new line with command

Reported by: luizluca Owned by: deryni
Milestone: Component: XMPP
Version: 2.10.9 Keywords: xmpp invite



I invited a user to a muc using:

/invite use@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:

Change History (1)

comment:1 Changed 5 years ago by Robby

  • Milestone 2.10.10 deleted
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!