eusoulevi / emite

Automatically exported from code.google.com/p/emite
0 stars 0 forks source link

Escape output messages #1

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Open the GWT client
2. Start a chat and try to send a emoticon from the menu (the one with a
star t) 

What is the expected output? What do you see instead?

A 400 error, and this message no escaped:

<body xmlns="http://jabber.org/protocol/httpbind" rid="504715"
>  sid="c67b6cd0"><message xmlns="jabber
>  :client" type="chat" from="admin@localhost/emite.1207266121100"
>  to="vjrj@localhost/Psi"><body> ONLY FOR
>   DEVELOPMENT AND TESTS: >:) O:) o:) o:-)  O:-)  0:) 0:-) ^_^ ^-^ ^^ :))
>  :-)) (police) (cop) {):) =:) (alien
>  ) o_O o_0 O_O o_o O_o 0_o o0 0o oO Oo 0_0  >:o   >:-o   >:o   >:-o  X(
X-( x(
>  x-( :@ <_< (bandit)  :( > :"> :*
>  >  :-$  :$ B) B-) 8)  :'(  ='(  :-D  :d  :-D  :D :d =D =-D =) =-) (L)
(h) (H)
>   :-*  :* (LOL) lol  :-X  :-xX :x (wubya
>  ) (wubyou) (wub) (:) (ph33r) (ph34r) >_< :| =| :-|  :(  =( =-(  :-(  :& :-&
>  =] (-.-) |) |-) I-) I-| :-O
>  :O :-o :o :-0  =-O   =-O  =o =O :P =P =p  :-P  :p  :-P  :b  :-\  :-/ :/
:\ :s :-S
>  :-s :S (woot) (w00t) (wOOt)
>  :-"  ;)   ;-)  ;> (wizard) :?  :-)   :)  </body></message></body>

Original issue reported on code.google.com by vruiz.ju...@gmail.com on 4 Apr 2008 at 11:52

GoogleCodeExporter commented 9 years ago
Almost solved... The only thing is to permit " quotes " ... I think... (we are
receiving "e;) 

Original comment by vruiz.ju...@gmail.com on 22 Apr 2008 at 12:10

GoogleCodeExporter commented 9 years ago

Original comment by vruiz.ju...@gmail.com on 22 Apr 2008 at 12:17

GoogleCodeExporter commented 9 years ago
i think should be part of emitelib (no emiteui)

Original comment by danigb on 22 Apr 2008 at 12:20

GoogleCodeExporter commented 9 years ago

Original comment by danigb on 22 Apr 2008 at 3:41

GoogleCodeExporter commented 9 years ago

Original comment by danigb on 22 Apr 2008 at 3:41

GoogleCodeExporter commented 9 years ago
Fixed in the next commit

Original comment by vruiz.ju...@gmail.com on 22 Apr 2008 at 11:08

GoogleCodeExporter commented 9 years ago

Original comment by danigb on 8 May 2008 at 9:30