Open
Description
If I download a file in Safari (File>Download>IPYNB) it is altered and cannot be reuploaded using the jupyter table of contents page upload button.
Repro Steps:
- In safari, Go to try.jupyter.org
- download any notebook
- upload the notebook you just downloaded
- notice the file has two extensions: filename.ipynb.json.
- Remove .json from the file so it ends up being named filename.ipynb and will be opened as a notebook
Expect: File to be uploaded
Result: File Upload returns a parse error.
Error:
"The error was: SyntaxError: JSON Parse error: Unexpected identifier.
Suspected Root Cause:
Files of type json cannot be uploaded as ipynb on jupyter. If you alter the file on osx to not be of type json it uploads fine. The file is correct and identical, bit for bit, with the same file downloaded in chrome or firefox.