VertNet / webapp

VertNet web application
8 stars 7 forks source link

Purge download file names of "bad" characters #636

Closed tucotuco closed 6 years ago

tucotuco commented 7 years ago

When a request to download a file is made, remove characters such as leading and trailing spaces, commas, tabs, slashes, colons, semicolons, etc. from the file name before committing it to the download queue.

& < / \ ; ( ) ' "

tucotuco commented 6 years ago

Also purge query string of "bad" characters before submitting it - both from UI and from API.

tucotuco commented 6 years ago

UI fix made in commit 6e4d95e90a92c21829300c18404da1c2873367e2.

tucotuco commented 6 years ago

API also dealt with in commit 44ff74dd724cd8b2185fd62342815d2ddf5df39b.