Skip to content

Conversation

@tomasr8
Copy link

@tomasr8 tomasr8 commented Dec 4, 2025

Fixes jupyter/notebook#5841

Steps to reproduce:

  • Run jupyter nbclassic
  • Create a new folder with a space in the name
  • Open the folder
  • Refresh the page (<body>'s data-notebook-path should now be url-encoded)
  • Create a new python3 notebook
  • Get the error from the linked issue

The fix is to use the existing util get_body_data to first decode the notebook path since Contents.prototype.api_url will encode it again.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Cannot create a notebook if the folder name contains spaces

1 participant