Skip to content

Commit fe903d3

Browse files
committed
Use sanitised result of select_subprotocol
- Fix jupyterhub#442 - Fix jupyterhub#445
1 parent 9b624c4 commit fe903d3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

jupyter_server_proxy/handlers.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -493,7 +493,7 @@ async def start_websocket_connection():
493493
request=request,
494494
on_message_callback=message_cb,
495495
on_ping_callback=ping_cb,
496-
subprotocols=self.subprotocols,
496+
subprotocols=self.select_subprotocol(self.subprotocols),
497497
resolver=resolver,
498498
)
499499
self._record_activity()

0 commit comments

Comments
 (0)