Hi pals,
What is causing the following Error 349 in Google Chrome browser when viewing or uploading .pdf files?
"Duplicate headers received from server
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 Content-Disposition headers received. This is disallowed to protect against HTTP response splitting attacks"
I don't know how to tackle this.
Please help.
Error 349 in Google Chrome browser when viewing or uploading .PDF files
This fixes an issue where latest version of chrome 16.0.912.63 would give this error when passing a filename to prawnto.
This error was resolved by warping the filename in the content-disposition header in quotes.
WAS: “Content-Description”=>attachment:filename=Name of your file.pdf”
NOW: “Content-Description”=>attachment:filename=Name of your file.pdf”
Try it and tell me what you have found the results
Error 349 in Google Chrome browser when viewing or uploading .PDF files
Hello Chloe,
Here are some fixes that you may try to solve this error:
-
Check your system’s Automatic Updates. If the computer you are using has its updates disabled, it will not receive any important system and application updates making it outdated with the latest patches and solutions that can help your system functions better.
-
Check the PDF file that you are trying to view or upload. It may include a comma “,” in its file name and that does not work with Google Chrome properly. Replace it with an underscore “_” instead. Try to use Firefox or Internet Explorer and they should not have any problem opening PDFs with comma on its file name.
Hope this would help.