mirror of
https://github.com/gotenberg/gotenberg.git
synced 2026-08-14 11:22:15 +01:00
fix(chromium): filter WebSocket handshakes against the outbound policy
This commit is contained in:
15
test/integration/testdata/ssrf-websocket-tls-html/index.html
vendored
Normal file
15
test/integration/testdata/ssrf-websocket-tls-html/index.html
vendored
Normal file
@@ -0,0 +1,15 @@
|
||||
<!doctype html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<title>WSS SSRF</title>
|
||||
</head>
|
||||
<body>
|
||||
<h1>WSS SSRF</h1>
|
||||
<script type="application/javascript">
|
||||
// wss:// (TLS) handshakes tunnel through the proxy via CONNECT, the same
|
||||
// path as ws://, and must be filtered identically.
|
||||
new WebSocket("wss://127.0.0.1:9999/wss-test");
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user