Unihedro / JavaBot

Java based chat bot that runs in Java room of Stack Overflow Chat.
Apache License 2.0
15 stars 4 forks source link

Special characters when using tell command #66

Open mvarendorff opened 7 years ago

mvarendorff commented 7 years ago

I tried using the tell command with **tell geisterfurz007 "Hello!" and got pinged with the message &quotHello!&quot (with ; after &quot, but this editor would make them a " if this was there...) I think, it would be great to add support for special characters / prevent this encoding if it is not required elsewhere.

Vogel612 commented 7 years ago

This is HTML-Entity-Escaping. We're possibly overencoding somewhere or should HTML-decode the messages we receive before interpreting them.The latter seems the more correct option to me.