Manually downloading PDF tries to save with html extension

0
I have an entity with a FileDocument generalization. I create it then set the name as [something].pdf. Then I use the java commons action to merge multiple pdf’s into one, sending the output to this file. When I then set an action to download the file (with the checkbox checked to show file in browser instead of downloading) I get the following URL; when it’s displayed   /file?guid=56576470318931673&changedDate=1693931141378&name=21001R1_Test%20Sub%201.pdf&target=window   When I right click on it to save it or I click the download button, it tries to save with a PDF extension despite the fact that the filename ends in PDF. Is there a way to get it to work correctly and download as a PDF without unchecking that “show file in browser” box?
asked
0 answers