-
Notifications
You must be signed in to change notification settings - Fork 11
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
Module defusedxml.lxml
is not fully protected and is deprecated
#31
Comments
defusedxml.lxml
will be deprecateddefusedxml.lxml
is not fully protected and will be deprecated
defusedxml.lxml
is not fully protected and will be deprecateddefusedxml.lxml
is not fully protected and is deprecated
The owner of the defusedxml repository is thinking of ways to solve this issue (the deprecation part, at least): tiran/defusedxml#38 (comment). Is the function |
Yes. However, since that uses lxml, the XML-related classes that we reference all over the place in that project and others are aliases to lxml classes: |
defusedxml.lxml
is not fully protected and is deprecateddefusedxml.lxml
is not fully protected and is deprecated
SignXML removed the DefusedXML dependency by incorporating its useful parts. See XML-Security/signxml@83c05fb. |
We rely on function
defusedxml.lxml.fromstring()
for our functionlibs.xml_utils.parse_untrusted_xml()
. What should we use instead?Source
Source
CC @jtrh
Alternatives
Perhaps there are others?
defusedxml.ElementTree.fromstring
defusedxml.cElementTree.fromstring
The text was updated successfully, but these errors were encountered: