SAP Knowledge Base Article - Preview

3447240 - Content-disposition response header is truncated when filename + extention has exactly 47 characters

Symptom

You are using SAP Content Server 6.5 and want to display a document that is called with the /sap/bc/contentserver service in web browser. 

The last character in filename in 'Content-Disposition' in Response header is truncated when the filename+extention is exactly 47 characters. There is no issue if filename+extention has more than 47 characters or less characters. 

For example, https://<host>:<port>//ContentServer/ContentServer.dll?get&pVersion=0047&contRep=**&docId=**********&compId=1234567890123456789012345678901234567890123.TXT&accessMode=r&***
returns the following Content-disposition response header where the last character is truncated:
< X-compId: 1234567890123456789012345678901234567890123.TXT
< Content-Disposition: inline; filename=1234567890123456789012345678901234567890123.TX
< Server: Apache/2.4.57 (Unix) SAPCS/650 


Read more...

Environment

SAP Content Server 6.50

Product

SAP Content Server all versions

Keywords

SAP Content Server, 6.5,  47 characters, truncate, Content-Disposition, filename, Response header, compId , KBA , BC-SRV-KPR-CS , SAP Content Server , Problem

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.