Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Fixed content-disposition error that occurs with filename set and new chrome version #16
This fixes an issue where new version of Chrome 16.0.912.63 would give this error when passing a filename to prawnto:
Error 349 (net::ERR_RESPONSE_HEADERS_MULTIPLE_CONTENT_DISPOSITION): Multiple
This error was resolved by wrapping the filename in the content-disposition header in quotes.
NOW: "Content-Disposition"=>"attachment;filename="Name of your file.pdf""