You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Native instances such as socket and client should be safe & shouldn't be exposed on functions like socket.onClientConnect & socket.onClientDisconnect as such. Clients can explicitly control otherwise which is not great.
Consideration:
Make a new reference for socket instances (Using custom classes)
Whitelist the methods only that client/server should be able to control
The text was updated successfully, but these errors were encountered:
Native instances such as
socket
andclient
should be safe & shouldn't be exposed on functions likesocket.onClientConnect
&socket.onClientDisconnect
as such. Clients can explicitly control otherwise which is not great.Consideration:
The text was updated successfully, but these errors were encountered: