Hi have a simple link that point to a file for download:
working file link
<a href="/assets/test/myFile.pdf" download>This Works</a>
The link works but if I try to implement a download link to a file with name that contains spaces, I get a corrupted file:
not working file link
<a href="/assets/test/my File not work.pdf" download>click here to download</a>
If I check the content of the corrupted file, I can find the html content of the homepage...
How can I manage the link to download for files that contains spaces?
Thanks