Skip to content
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

questions #11

Open
zlf341 opened this issue Nov 7, 2023 · 1 comment
Open

questions #11

zlf341 opened this issue Nov 7, 2023 · 1 comment

Comments

@zlf341
Copy link

zlf341 commented Nov 7, 2023

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
Copy link
Author

zlf341 commented Nov 7, 2023

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant