aluzzardi / wssh

SSH to WebSockets Bridge
MIT License
1.37k stars 273 forks source link

Decode to UTF-8 before loading the JSON #37

Open atrioinc opened 5 years ago

atrioinc commented 5 years ago

Hi!

If the data is not being encoded to UTF-8 the bridge closes the connection because an unexpected exception. This could be easily reproduced sending {"data":"ñ"} via websocket.