I tried to make a download link on a page like this:
<a href="uploads/testfolder/excelfile.xlsx" target="_blank">Download here</a>`
When I click the link, it displays a page as shown in the picture below, which is also viewed in the same page.
It is supposed to download in the new window because I put
target="_blank". But the weird part is, when I try to right-click and open in a new window, it automatically prompts me to download the file.