Export to pdf not working after upgrade to IE11
When downloading a PDF ‘eform’ document created within PRPC, browser prompts to save it using a filename based on the calling URL rather than the expected PDF name. This issue is only occurring on Internet Explorer (IE) Version 11; earlier versions of IE do not show the issue.
When prompted to save the PDF, IE 11 provides a filename such as this:
Steps to Reproduce
Create an Activity to generate an ‘eform’ PDF document and streams the PDF back to the browser.
The issue was diagnosed using a HTTP Trace Tool (‘Fiddler’).
The HTTP headers returned from the server looked like this:
HTTP/1.1 200 OK
Date: Tue, 22 Nov 2015 10:23:27 GMT
Pxhandler: File Download
Expires: Thu, 01 Dec 1994 16:00:00 GMT
Set-cookie: Pega-RULES=HXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX; Path=/prweb
In particular the ‘Content-disposition’ header contained an illegal filename: "Test%09PEGA%09Document.pdf".
When this filename string is decoded (URL Decoded); it resolves to:
“Test[TAB]PEGA[TAB]Document.pdf”; where “[TAB]” denotes the ASCII TAB character: TAB characters are not legal within filenames.
Modify Activity to ensure that no TAB characters were included in the ‘filename’ Parameter.
0% found this useful