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

Add safe argument #2199

Closed
wants to merge 1 commit into from
Closed

Conversation

AndreyFrolov44
Copy link

Hi!

I suggest adding the safe argument, in which url_fetcher will be used, in which it will be impossible to download local files

@liZe
Copy link
Member

liZe commented Jul 10, 2024

Hi!

Thanks for this pull request.

Unfortunately, I don’t think that adding a safe option is a good idea, because it may give the impression that using it solves all the security concerns. Avoiding access to local files is only one small part of all the possible security problems that may happen with WeasyPrint, and there’s no silver bullet to avoid them all.

@liZe liZe closed this Jul 21, 2024
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

Successfully merging this pull request may close these issues.

None yet

2 participants