SUPPORT / SAMPLES & SAS NOTES
 

Support

Problem Note 48555: In SAS® Anti-Money Laundering, you are unable to open downloaded documents with MIME type application or octet-stream in Microsoft Internet Explorer

DetailsHotfixAboutRate It

When uploading a Word document as an attachment for an alert, case, risk assessment, or entity, Microsoft Internet Explorer sometimes fails to correctly identify the file type. A content-type header for the attachment is sent indicating it to be a binary file (application or octet-stream).

When the document is subsequently viewed, the UI sends the file to the browser using the content-type header that was originally provided in the upload. If this value is application or octet-stream, the browser does not offer to open the file, requiring you to save the file locally before you can view it.

To correct this action, an additional property has been added to sasaml.config for SAS Anti-Money Laundering 4.2. This allows the original content type to be overridden by a value that is derived from the application server or from Java. Both of these sources can be customized to define mappings from the extension on the filename to a content or mime-type value. Where neither the application server nor Java provide a mapping, the SAS Anti-Money Laundering UI falls back to sending the original content type. For SAS Anti-Money Laundering 5.1 and 5.2, this property is accessed in the SAS® Management Console.

Web applications can provide a file extension to mime-type mappings in their WEB-INF\WEB.XML file as <mime-mapping> elements. The hosting application server might provide a propriety extension to this mechanism, including a default set of mappings. Java provides a file extension to mime-type mapping using the {JRE}\lib\content-type.properties file.

# Defines the handling of the content-type HTTP header when viewing attachments. # Valid values for this setting are: # original (default) Content-type header used will be the value originally # uploaded as stored in the applicable table in the # document_mime_type_desc column. This preserves behavior # prior to introduction of this setting. # appserver Content-type header used will be a value derived from # the attachment's filename extension, as determined by # either the application server or, if this fails, by Java. # If neither result in a value, the original content type # header will be returned. # Content/mime-type determination by the application server # is done using <mime-mapping></mime-mapping> entries in # the SAS ANti-Money Laundering application's WEB.XML or any # server specific extension of this mechanism. # Content for mime-type determination by Java is done using the # {JRE}\lib\content-types.properties file. sasaml.attachments.contentType=original


Operating System and Release Information

Product FamilyProductSystemProduct ReleaseSAS Release
ReportedFixed*ReportedFixed*
SAS SystemSAS Anti-Money LaunderingSolaris for x644.25.1_M19.2 TS2M39.3 TS1M2
Linux for x644.25.1_M19.2 TS2M39.3 TS1M2
Linux4.25.1_M19.2 TS2M39.3 TS1M2
HP-UX IPF4.25.1_M19.2 TS2M39.3 TS1M2
64-bit Enabled Solaris4.25.1_M19.2 TS2M39.3 TS1M2
64-bit Enabled HP-UX4.25.1_M19.2 TS2M39.3 TS1M2
64-bit Enabled AIX4.25.1_M19.2 TS2M39.3 TS1M2
Windows Vista for x644.25.1_M19.2 TS2M39.3 TS1M2
Windows 7 Enterprise x644.25.1_M19.2 TS2M39.3 TS1M2
Windows 7 Enterprise 32 bit4.25.1_M19.2 TS2M39.3 TS1M2
Microsoft Windows XP Professional4.25.1_M19.2 TS2M39.3 TS1M2
Microsoft Windows Server 2008 for x644.25.1_M19.2 TS2M39.3 TS1M2
Microsoft Windows Server 2008 R24.25.1_M19.2 TS2M39.3 TS1M2
Microsoft Windows Server 20084.25.1_M19.2 TS2M39.3 TS1M2
Microsoft Windows Server 2003 for x644.25.1_M19.2 TS2M39.3 TS1M2
Microsoft Windows Server 2003 Enterprise Edition4.25.1_M19.2 TS2M39.3 TS1M2
Microsoft Windows Server 2003 Datacenter Edition4.25.1_M19.2 TS2M39.3 TS1M2
Windows Vista4.25.1_M19.2 TS2M39.3 TS1M2
Windows 7 Ultimate x644.25.1_M19.2 TS2M39.3 TS1M2
Windows 7 Ultimate 32 bit4.25.1_M19.2 TS2M39.3 TS1M2
Windows 7 Professional x644.25.1_M19.2 TS2M39.3 TS1M2
Windows 7 Professional 32 bit4.25.1_M19.2 TS2M39.3 TS1M2
Windows 7 Home Premium x644.25.1_M19.2 TS2M39.3 TS1M2
Windows 7 Home Premium 32 bit4.25.1_M19.2 TS2M39.3 TS1M2
Microsoft Windows Server 2003 Standard Edition4.25.1_M19.2 TS2M39.3 TS1M2
Microsoft® Windows® for x644.25.1_M19.2 TS2M39.3 TS1M2
* For software releases that are not yet generally available, the Fixed Release is the software release in which the problem is planned to be fixed.