-
Notifications
You must be signed in to change notification settings - Fork 418
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
URLs being escaped after upgrade to 0.5.3 #166
Comments
Same problem, 0.5.3 shattered my header and footer, kit = PDFKit.new(html, :"header-html"=>newsletter_pdf_header_url(@newsletter), :"footer-html"=>newsletter_pdf_footer_url(@newsletter)) Url looks like |
I have the same issue. http://127.0.0.1:3001/el/users/524.print?to=pdf but this is what I get in the server logs Started GET "/el/users/524.print%5C?to%5C=pdf" |
For me i've solved it with gem 'pdfkit', '=0.5.2' |
Our PDF generation broke after update to 0.5.3
The URL we're opening is something like
In 0.5.3, that URL is converted to something like (I checked in the server's access log):
and the request fails.
The text was updated successfully, but these errors were encountered: