You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When files are served over the network, the server must encode certain characters using percent-encoding (RFC3986 2.2).
When Zarr opens a dataset from a URL, keys are incorrectly set from percent-encoded file names.
Steps to reproduce
Create a dataset containing any of (:/) ?#[]@!$&'()*+,;=.
Here, the array key contains +.
Zarr version
v2.17.1
Numcodecs version
v0.12.1
Python Version
3.10
Operating System
Linux
Installation
Using pip into a conda environment
Description
When files are served over the network, the server must encode certain characters using percent-encoding (RFC3986 2.2).
When Zarr opens a dataset from a URL, keys are incorrectly set from percent-encoded file names.
Steps to reproduce
Create a dataset containing any of (
:
/
)?
#
[
]
@
!
$
&
'
(
)
*
+
,
;
=
.Here, the array key contains
+
.Serve the dataset with a local server. Go into the directory where you saved the data and run:
In a web browser you can confirm that the URLs are correctly percent-encoded, but the file listing is decoded:
Try reading the dataset from a URL:
Additional output
No response
The text was updated successfully, but these errors were encountered: