Is there a way to throw a 404 instead of a 200 when we try to download an invalide file "/download_file/view/myFile.test" in concrete 5. I'm using version 8.2.1
Thanks for your help
Is there a way to throw a 404 instead of a 200 when we try to download an invalide file "/download_file/view/myFile.test" in concrete 5. I'm using version 8.2.1
Thanks for your help
Copyright © 2021 Jogjafile Inc.
The solution was to override the DownloadFile controller and the view method: