Comments (4)
Fixed by silx-kit/h5web#774 and silx-kit/h5web#781
from jupyterlab-h5web.
Probably need to use quote_plus
from jupyterlab-h5web.
Issue is also when opening h5web with a double click from the file browser.
from jupyterlab-h5web.
After thorough investigation, the escaping happens when the request URL is parsed on the backend. The culprit is tornado's parse_qs_bytes that parses arguments expecting them to be URL-encoded.
>>> parse_qs_bytes('file=stack+.h5&path=/')
{'file': [b'stack .h5'], 'path': [b'/']}
>>> parse_qs_bytes('file=stack%2B.h5&path=%2F')
{'file': [b'stack+.h5'], 'path': [b'/']}
To avoid problems of this type in the future, we should ensure that the filename is encoded every time it roundtrips between the front-end and the back-end.
This means encoding should happen in the following situations:
- When double-clicking on a file in the filebrowser. This is probably handled directly by JupyterLab.
-
When passing the filename in argument of theThis is probably also handled by JupyterLab as it works without further work in jupyterlab-h5webH5Web
widget. #46 may be the solution - When making GET requests in the
H5GroveProvider
with filename as arg. This must be fixed in h5web silx-kit/h5web#774.
from jupyterlab-h5web.
Related Issues (20)
- jupyterlab_h5web is installable through conda-forge HOT 2
- Using file-like objects to open HDF files HOT 5
- Jupyter-lab is not giving the graphical display but just showing the object HOT 3
- Error 500 HOT 3
- Custom selection of dimensions to be plotted HOT 2
- Implement search
- Opening Virtual Datasets raises error: "Request failed with status code 500" HOT 8
- "Expected complex" error HOT 2
- Make the extension compatible for JupyterLab 4 HOT 2
- Dark theme incorrect NXline color HOT 2
- File not found in collaborative mode Jupyterlab v4 HOT 19
- Handling netcdf files HOT 2
- Support of loom files HOT 2
- Enter key presses are intercepted for all filebrowser operations (e.g. renaming and deleting)
- When doing a develop install, R3F visualisations freeze the browser HOT 3
- Crashes reading a large file HOT 6
- Ordinate axis appears stretched out in Chrome HOT 8
- Customize colors of 2D plots in H5Web cell HOT 5
- 500 Error when trying to visualize datasets saved in `float128` HOT 5
- h5web-in-cell css style height HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jupyterlab-h5web.