As it currently stands, CheckOrigin when doing a websocket upgrade does not provide any check regarding the Origin header. Solution to this is to use the default CheckOrigin provided by the websocket module, which checks the Origin header against the Host header.
This function could be enhanced according to requirements on a new feature request.
As it currently stands,
CheckOrigin
when doing a websocket upgrade does not provide any check regarding theOrigin
header. Solution to this is to use the defaultCheckOrigin
provided by thewebsocket
module, which checks theOrigin
header against theHost
header.This function could be enhanced according to requirements on a new feature request.