server: allow spaces and accentuated characters in client id

This commit is contained in:
jean-emmanuel 2022-02-27 22:38:39 +01:00
parent 25f7b3e4aa
commit 6fa7e9ebed
2 changed files with 4 additions and 1 deletions

View file

@ -4,7 +4,8 @@
- bug fixes
- modal: scroll state not restored when the modal container is recreated
- server: allow spaces and accentuated characters in client id
## 1.15.1
- bug fixes

View file

@ -31,6 +31,8 @@ class Ipc extends EventEmitter {
if (!id) return
id = decodeURI(id)
if (!this.clients[id]) {
var client = new Client(socket, id, req.connection.remoteAddress)