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
What is the recommended practice to define a sensible CSP to allow socket.io requests?
The host name may be known only upon receiving a request with the Host:, so I cannot configure the CSP string statically because 'self' does not apply to web sockets on the ws:// / wss:// protocols.
The text was updated successfully, but these errors were encountered:
@shaunwarman, the issue is that the hostname is dynamically inferred from the Host: header (at runtime), but lusca wants a hard-coded header, so basically I have to send the CSP header myself rather than have lusca do it, unless there is a way to have a function resolve it.
What is the recommended practice to define a sensible CSP to allow socket.io requests?
The host name may be known only upon receiving a request with the
Host:
, so I cannot configure the CSP string statically because'self'
does not apply to web sockets on thews://
/wss://
protocols.The text was updated successfully, but these errors were encountered: