Queries with '?' cannot be exported to .csv

v7.10.2.3
Git SHA: b41e3d6546523d455a7dc932c1eb444aedd07f94

Reporting what appears to be a small bug, no idea if it’s new or has always been this way.

I noticed that while attempting to save the results of a query with a “?” in the title, Specify will seemingly generate the file and will notify the user, but will not prompt the user to save the generated .csv file when they click “download” in the notifications dialog. Right clicking the “download” button and selecting “open in new tab” leads to a 404 error page.

No ‘?’, button works:

Title contains ‘?’, button doesn’t work:


I think this is probably a pretty easy fix, something to do with the character ‘?’ not being properly escaped in the code that generates CSVs? Notably the query JSON export for a query with a ‘?’ has the character ‘?’ represented as a “_” in the filename.

Query that works:
0 - Wisconsin DNR deaccession List.json (15.7 KB)

Query that doesn’t work:
0 - Wisconsin DNR deaccession List_.json (15.7 KB)

1 Like

Hi @nfshoobs,

I’ve added your report to the GitHub repository:

Thank you for your detailed write up! I’ve already found and fixed this issue in my development environment, so you can count on this being fixed in an upcoming release.

1 Like

Thanks for squashing the bug! :slight_smile:

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.