Opened 5 years ago

Closed 5 years ago

Last modified 5 years ago

#365 closed Adopter Support (Fixed)

mime-mapping for .sas7bdat type file

Reported by: Lois Haggard Owned by:
Priority: Unknown Milestone:
Component: View-App Version: 2.3
Severity: Unknown Keywords:
Cc:

Description

My users used to be able to download a SAS file by clicking on the link. But in recent versions (of Tomcat? Browser? or whatever), the link no longer works to download the file. It just produces a page of cryptic junk characters.

We need to add a mime-mapping for .sas7bdat files so that the server will recognize that type of file and know what to do with it.

I found a couple of online references to this sort of thing (VERY brief search) http://tomcat.10.x6.nabble.com/quot-mime-mapping-quot-and-Content-Type-td5060559.html https://examples.javacodegeeks.com/enterprise-java/tomcat/tomcat-web-xml-configuration-example/

Change History (4)

comment:1 Changed 5 years ago by Lois Haggard

Paul is has a handle on this and is working on it.

comment:2 Changed 5 years ago by Paul Leo

Resolution: Fixed
Status: newclosed
Version: Unknown2.3

Added a mime-mapping for sas7bdat in web.xml file.

The line looks like this:

<mime-mapping><extension>sas7bdat</extension> <mime-type>application/octet-stream</mime-type></mime-mapping>

Garth will add this to core

comment:3 Changed 5 years ago by Paul Leo

Milestone: 2.3 - Testing

comment:4 Changed 5 years ago by Lois Haggard

Milestone: 2.3 - Testing

Tested and working. Thanks STG!!!

Note: See TracTickets for help on using tickets.