Archive entry download includes the entry path in the filename - This happens because the Content-Disposition header includes the file path and file name instead of just the filename
Steps to reproduce:
- Create a .zip file that contains a directory with a fie.
For example -> test.zip-> testdir–> test2.zip - Upload to Artifactory (it can be done using the UI)
- Download the test2.zip file using the Platform UI.
Using the browser developer tools shows the wrong response that should include only the filename.
Content-Disposition: attachment; filename="passport-to-fusionauth/mysql.sql"; filename*=UTF-8''passport-to-fusionauth/mysql.sql
- The result of the downloaded file is - testdir_test2.zip instead of test2.zip
Kindly see attached screenshot as well: