Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

notebook=6.1.3 download files with spaces gives a 404 #5715

Closed
AbdealiLoKo opened this issue Aug 31, 2020 · 2 comments · Fixed by #5720
Closed

notebook=6.1.3 download files with spaces gives a 404 #5715

AbdealiLoKo opened this issue Aug 31, 2020 · 2 comments · Fixed by #5720

Comments

@AbdealiLoKo
Copy link

I was earlier using notebook==6.0.3 and have recently shifted to notebook==6.1.3.
I find that with the newer version, when I try to download files with spaces - it fails witha 404 error.

I run jupyter notebook with jupyter notebook. No special configs have been set.

When I create a file called my file.ipynb and:

In jupyter 6.0.3 - When I create a file called my file.ipynb and:

It looks like when we download a file with spaces in it - the URL is different now (it has a extra %25 in it)

The same issue occurs if the folder has spaces instead of the file

NOTE: When I try this on try-jupyter https://jupyter.org/try it works fine - It seems to be using 6.0.3

@kevin-bates
Copy link
Member

😞 Looks like this update is leading to a double-encoding: <sp> -> %20 -> %2520

cc: @berendjan @Zsailer

@Zsailer
Copy link
Member

Zsailer commented Aug 31, 2020

Thanks for raising this issue, @AbdealiJK.

Indeed—there's a double encoding happening. Fixed in #5720

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 23, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants