Service Catalog: Files are automatically opened in the browser window when clicking to download it

book

Article ID: 143436

calendar_today

Updated On:

Products

CA Service Catalog

Issue/Introduction

Files are automatically opened in the browser window when clicking on it.
Steps:
1. Click on the link to download a file which is a HTML code similar to: <a href="FileStore/custom/filename.xlsx" target="_blank" >Download File</a>
3. See that the file is opened in the browser window instead of downloading it or asking to accept the download.




Cause

Defect with 17.2

Environment

Release : 17.2

Component : CA SERVICE CATALOG

Resolution

1. Open web.xml (C:\Program Files\CA\Service Catalog\view\webapps\usm\WEB-INF\web.xml )

2. Comment the following line by adding :

Example: 

<!--   

<filter-mapping><filter-name>securityHeadersFilter</filter-name><url-pattern>/FileStore/</url-pattern> </filter-mapping>

-->

3. Save Chages

4. Restart Catalog Services.