mirror of
https://github.com/projectdiscovery/nuclei.git
synced 2026-11-09 04:09:43 -10:00
Address review feedback: - Skip Sec-WebSocket-Protocol values containing CR or LF before negotiating them, since gobwas/ws writes subprotocols into the handshake request line and a line break could smuggle extra handshake headers. - Tighten the test server to reject the upgrade unless the client offers the vite-hmr subprotocol, so the test fails if negotiation does not happen. Co-Authored-By: Claude Opus 4.8 <[email protected]>