Hey guys!
I have been using the Wasabi pluggin for bubble for a while and it works fine for me, but now i’m having some problems when my users uploads files with very long names or strange characters. What i’m trying right now is to rename the files to change the names to a 10 length of characters random string.
The rename works fine, but after rename the files now i can’t do a preview the files, they are downloaded automatically.
I’ll give a more developed explanation of how the process I’m working on works:
1º The user logs into the application and uploads the files to wasabi through the plugin. The wasabiS3 bubble element has the auto submit and rename files option active.
2º Once the files have been uploaded, through a backend workflow, I save the information of the files in my bubble database, saving their full name, their server name and their url.
3º Lastly, I offer the user the possibility of consulting the document that they have uploaded through a link, so that if they click on this link they can see the file that they have uploaded to wasabi. This link works by collecting the url saved in the database.
The problem is that when renaming the files automatically through the plugin with the rename files option, the files cannot be previewed through the url, instead the url becomes a url to download automatically the files without me being able to do anything.
If anyone can help me with this problem or knows why it can occur, I would be very grateful.
Thanks in advance!