Error Message Received Trying To Open An Attachment

Discussions about the Newsletter Tool at LDS.org.
clarksonpr
New Member
Posts: 3
Joined: Thu Feb 28, 2013 8:34 am

Error Message Received Trying To Open An Attachment

Postby clarksonpr » Mon Mar 04, 2013 12:19 pm

I created and attached a PDF for a newsletter article. After saving it, to review the article I opened the attachment; it didn't open and I received the following google chrome error message. I deleted the article, shut down my computer, re-made the PDFs, and started over. Its happening again. What does it mean, and why won't the PDF open ? I have other articles with PDFs I've created and attached that are not difficult to open.

Duplicate headers received from server Google Chrome
The response from the server contained duplicate headers. This problem is generally the result of a misconfigured website or proxy. Only the website or proxy administrator can fix this issue.
Error 349 (net::ERR_RESPONSE_HEADERS_MULTIPLE_CONTENT_DISPOSITION): Multiple distinct Content-Disposition headers received. This is disallowed to protect against HTTP response splitting attacks.

jdlessley
Community Moderators
Posts: 6522
Joined: Sun Mar 16, 2008 11:30 pm
Location: USA, TX

Re: Error Message Received Trying To Open An Attachment

Postby jdlessley » Mon Mar 04, 2013 8:03 pm

Clear your browser cache and try again. If that isn't successful try checking the article and attachment on another browser.
JD Lessley
Have you tried finding your answer on the LDS.org Help Center page or the LDSTech wiki?

clarksonpr
New Member
Posts: 3
Joined: Thu Feb 28, 2013 8:34 am

Re: Error Message Received Trying To Open An Attachment

Postby clarksonpr » Tue Mar 05, 2013 10:03 am

I manually Clear ALL Browser History options everyday in whatever browser servers I use before I shut down and turn off my computer. I cleared it again now and this isn't helping, I still get the error message below. I used Firefox and everything works fine. I use Chrome for everything without any issues; only this has a problem. I wasn't receiving the error message just a day ago when working the newsletter articles in Chrome. Can you explain to me what this error message means ? What are duplicate headers and a misconfigured proxy ? Who is the proxy administrator ? What is HTTP response splitting attacks ? . . .

Duplicate headers received from server Google Chrome
The response from the server contained duplicate headers. This problem is generally the result of a misconfigured website or proxy. Only the website or proxy administrator can fix this issue.
Error 349 (net::ERR_RESPONSE_HEADERS_MULTIPLE_CONTENT_DISPOSITION): Multiple distinct Content-Disposition headers received. This is disallowed to protect against HTTP response splitting attacks.

User avatar
aebrown
Community Administrator
Posts: 14685
Joined: Tue Nov 27, 2007 8:48 pm
Location: Sandy, Utah

Re: Error Message Received Trying To Open An Attachment

Postby aebrown » Tue Mar 05, 2013 1:14 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....

It appears that the HTTP Response Headers contain a header as follows:

Code: Select all

Content-Disposition:attachment; filename=myattachment.pdf

Note that the filename is not quoted. Note also that a comma is not a valid character in that header if it is not quoted; there are probably other characters that are invalid as well. Changing the filename to have a comma results in a header like:

Code: Select all

Content-Disposition:attachment; filename=my,attachment.pdf

... which will guarantee that Chrome will report the error described in the OP.

clarksonpr
New Member
Posts: 3
Joined: Thu Feb 28, 2013 8:34 am

Re: Error Message Received Trying To Open An Attachment

Postby clarksonpr » Tue Mar 05, 2013 2:52 pm

Hooray ! Problem Solved !
I deleted all my attachments then saved and logged out of lds.org
Then I renamed my pdf attachments 'without commas'. I re-opened the newsletter and attached my newly named pdf's. That did the trick !
Thanx Bunches


Return to “Newsletter”

Who is online

Users browsing this forum: No registered users and 1 guest