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

Provide an option to disable insecure docutils features #536

Open
tristanlatr opened this issue Apr 6, 2022 · 1 comment
Open

Provide an option to disable insecure docutils features #536

tristanlatr opened this issue Apr 6, 2022 · 1 comment

Comments

@tristanlatr
Copy link
Contributor

I think we should disable raw and include directives by default and add an option like --enable-unsecure-directives.

I think it's about adding:

'file_insertion_enabled':False,
'raw_enabled':False

to the settings_overrides argument of docutils publish_string function, but I'm not 100% sure.

@tristanlatr tristanlatr changed the title Disable unsecure docutils directives by default Provide an option to disable insecure docutils features Feb 1, 2025
@tristanlatr
Copy link
Contributor Author

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

No branches or pull requests

1 participant