I have a functionality to export a page property report to excel, save it in confluence home temp folder, addkey in gatekeeper for the same url. but when we try to hit the URL once the file is created in temp folder, it redirects to page with below msg. This issue is noted only after confluence upgraded to 8.5. in confluence 7.13 same functionality worked fine with file getting downloaded by hitting the URL.
