Bug Report - Network error while trying to download a file

Hello,

I ran into a network error while trying to download a file, via clicking a button. The button simply calls the download file function for the file object from the database table.
anvil.media.download(file_object)

Unfortunately I cannot share everything of file’s information, however I realised, that the file’s name causes the network error. The file contains commas. If I remove them, then I can download the file. With them I can not.

This issue came from one of my user and I already fixed the issue by simply checking for commas and showing a warning accordingly. If the user still persists to save the file with commas, then I simply remove the commas from the file.

Clone link:
https://anvil.works/build#clone:UFYDQGEGP3DFAPT6=ZJBTDOY4ARBHOK67CXPR52E2
P.S
I would create a topic in the Bug report section, but sadly I am not allowed to post there yet. :confused:

1 Like

Only administrators can do that. They’ll move this topic to Bug Reports on their own discretion.

1 Like