Error downloading pdf ERR_RESPONSE_HEADERS_MULTIPLE_CONTENT_DISPOSITION






















In this case, you should try again with a different file to determine whether the error comes from your browser client-side or from the server server-side. So that comma would be mistakenly detected as an array separator , splitting the name in halves. The response header now should look like this. Alternatively, switch to IE or Firefox, they are not suffered from this error because they added measures to safely process headers.

If you have access to the server or you are the developer, you can add code to wrap the filenames in double quotes , thus avoiding HTTP header mismatches. Ask a question. Quick access. Search related threads. Remove From My Forums. Answered by:. Archived Forums. Web Forms Data Controls. Sign in to vote. Refresh ; Microsoft. What you can do is bundle both your files into a single file e. ZIP file and send that to the client. Stack Overflow for Teams — Collaborate and share knowledge with a private group.

Create a free Team What is Teams? Collectives on Stack Overflow. Learn more. Asked 5 years, 2 months ago. Active 4 months ago. Viewed 15k times. Below is my code to generate 2 csv files: using System. Data; using System. SqlClient; using System. Text; using System. IO; using System; using System. Configuration; using System. What is HTTP response splitting attacks? Re: Error Message Received Trying To Open An Attachment Post by aebrown » Tue Mar 05, pm My guess is that the filename of your attachment contains a character that is causing a problem see below for a technical description.

For example, when I create an attachment that has a comma in the filename, I can duplicate this problem on Chrome every time. I'd recommend that you simplify your filename to have nothing but letters in it, then try again. Now, for the technical details Problem Solved! I deleted all my attachments then saved and logged out of lds. I re-opened the newsletter and attached my newly named pdf's. That did the trick!



0コメント

  • 1000 / 1000