When connecting colab to a Jupyter server the frontend application sends URL encoded parameters to /api/sessions which causes the API to return hard to read names. While this is coming from the frontend, if the backend needs the URL encoding this can be undone in this package when forwarding the API request to the Jupyter server.
This can be seen by creating a notebook in drive with a character which needs to be escaped and looking at the websocket connections that are happening to the handler this package provides.
An example response from /api/sessions after loading such a notebook might be the following:
When connecting colab to a Jupyter server the frontend application sends URL encoded parameters to
/api/sessions
which causes the API to return hard to read names. While this is coming from the frontend, if the backend needs the URL encoding this can be undone in this package when forwarding the API request to the Jupyter server.This can be seen by creating a notebook in drive with a character which needs to be escaped and looking at the websocket connections that are happening to the handler this package provides.
An example response from
/api/sessions
after loading such a notebook might be the following:While the expected response would instead include the string
[test] example notebook.ipynb
.