From: Magnus H. <ma...@fr...> - 2005-08-31 19:46:11
|
[ catching up after summer "vacation"... ] Mathias Dahl <mat...@gm...> writes: > 1. Enter a chat with someone. > 2. Type in (insert 0) and do C-x C-e to insert a ASCII NUL char > 3. Press RET to send the message > > When I do this I get logged out. > > Now, sending NUL to ppl is not something I normally do :), I just > happend to have that character in a messed up source code snippet that > I wanted to send to a friend. > > Personally, I would like Jabber to be able to send ALL characters, > even though I would accept if it was not possible to send very strange > characters like NUL. > > Can anyone verify this too? Yes, the XML standard forbids all control characters except tab, linefeed and carriage return. I just committed the following patch, which should hopefully take care of all such cases without breaking anything. Magnus |