How can I replace space and special character before upload ? I do not want to keep special character in S3 file name.
Please help me.
How can I replace space and special character before upload ? I do not want to keep special character in S3 file name.
Please help me.
Hello, @poonam
Thanks for your suggestion.
Please allow me to mention that replacing the spaces and special characters is possible only with your manual impact.
The plugin doesn’t replace them automatically.
The plugin returns you not the name of the file from the bucket, but the original name of the file.
Please check this documentation in case of necessity: encodeURIComponent() - JavaScript | MDN
The simplest way to avoid issues with file uploading is to follow the list with the wrong characters and just to delete them from the title.
So, you upload a file to the bucket and in your S3 can see the name of the file, which were uploaded. But the plugin returns you not the name of the file from the bucket, but the original name of the file.
In case I can help you with any additional information - please let me know.
Best regards,
Hello, @poonam hanks for your patience and for using our plugin
By this message, I would like to notify you that we had significantly improved the plugin and now, after uploading files with the special characters, the URL will not be encoded with “%” symbols.
Thus, you will see the same URLs in your application and S3 bucket.
Please upgrade the plugin to the latest version (1.87.0) and give it a try.
Hope it will be useful for you.
Best regards,