Golang-HTML-TO-PDF-Converter icon indicating copy to clipboard operation
Golang-HTML-TO-PDF-Converter copied to clipboard

questions

Open zlf341 opened this issue 1 year ago • 1 comments

Hi, there

thank you for this great lib.

just one question about CSP, Content Security Policy (CSP) , does it support csp in html head as ? e.g,

zlf341 avatar Nov 07 '23 17:11 zlf341

okay, this is using: wkhtmltopdf

ref: https://wkhtmltopdf.org/downloads.html Do not use wkhtmltopdf with any untrusted HTML – be sure to sanitize any user-supplied HTML/JS, otherwise it can lead to complete takeover of the server it is running on! Please read the project status for the gory details.

so wil this lib do sanitize html, then?

zlf341 avatar Nov 07 '23 17:11 zlf341