rabbitmq / rabbitmq-web-stomp

Provides support for STOMP over WebSockets
Other
89 stars 26 forks source link

Handle errors in data more gracefully #121

Closed lukebakken closed 4 years ago

lukebakken commented 4 years ago

Reported in this rabbitmq-users discussion thread

https://groups.google.com/d/topic/rabbitmq-users/Q_eshGHI-bc/discussion

To reproduce, use this branch:

https://github.com/rabbitmq/rabbitmq-web-stomp-examples/tree/lrb-bad_escape

Start RabbitMQ:

make PLUGINS='rabbitmq_management rabbitmq_stomp rabbitmq_web_stomp rabbitmq_web_stomp_examples' run-broker

Visit the "Echo Server" example, and the crash will happen on the initial SUBSCRIBE