AllenInstitute / biofile-finder

An open-use web application created for easy access, collaboration, and sharing of datasets through rich metadata search, filter, sort, and direct viewing in common industry applications or in our web-based 3D Volume Viewer.
https://biofile-finder.allencell.org/
BSD 3-Clause "New" or "Revised" License
3 stars 1 forks source link

Download fails on files with '#' in name #104

Open kmitcham opened 3 months ago

kmitcham commented 3 months ago

As a user, I'd like to be able to download the 10 files in fms that have '#' in the name using FE.

I'd also like to download the other files that might have html-active characters in the name.

This came up with SaraC trying to download 20191111_M02001#24_z14to60_8bit_scalebar10.avi ( File id: 1a0a8a56d58a4a21923f13929ccaf91c ) using the explorer, but I was able to get her the file via cp from Vast, so she wasn't blocked for long.

kmitcham commented 3 months ago

Comments from slack: Looks like the request the loadbalancer (Nginx) saw was this: GET /labkey/fmsfiles/image/allen/programs/allencell/data/proj0/91c/caf/29c/139/23f/219/a4a/d58/a56/0a8/1a/20191111_M02001 HTTP/1.1 andrewl :house_with_garden: 20 minutes ago Looks like FE just needs to escape the # - this request through the loadbalancer works: http://aics.corp.alleninstitute.org/labkey/fmsfiles/image/allen/programs/allencell/data/pr[…]/1a/20191111_M02001%2324_z14to60_8bit_scalebar10.avi