-
-
Notifications
You must be signed in to change notification settings - Fork 33.5k
gh-139313: Improve docs on XML security #139460
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
gh-139313: Improve docs on XML security #139460
Conversation
Clarify that: - it takes parsing for an attack - that some doors are closed by default - only version 2.7.2 has all the fixes - use of the bundle depends on configuration
|
@picnixz I was hoping for this PR to be a quick and uncontroversial win for everyone. Would you be up to get this over the finish line with me? Else could you connect me to someone up for it? I believe @hedsnz uncovered some actual issues in #139313 that are worth addressing. The keys ideas in this pull request are:
What do you think? |
Misc/NEWS.d/next/Documentation/2025-09-30-20-57-26.gh-issue-139313.ibcC9q.rst
Outdated
Show resolved
Hide resolved
hedsnz
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks very much @hartwork, this PR addresses everything in the issue I originally raised, and I think it strikes a good balance between giving enough background so that people know where to start looking for further information, while not giving so much information that is better documented elsewhere.
I've offered a couple of very minor wording suggestions.
@hedsnz cool, thanks for your support!
Thanks for the review! |
|
@vstinner could this be merged please please? |
|
Note that the general guideline around here is to wait a month before pinging, there is a long queue of PRs (>2000!). |
|
@StanFromIreland I understand that the project has many other pull request but I'll be honest with you, I only jumped in to help with this PR here (that was not my own pain point) because I felt like it could be a quick win, and this pull request is way too trivial and tiny to have a life of 3 weeks in my book. It only means that I will twice to be the guy providing doc fixes like this next time. I'm not sure that's intended. I'm happy to team up with you personally on other pull request review in CPython as feasible if that helps you move faster on the queue. Thanks for considering my side. |
I don't know XML very well. Maybe @encukou or @serhiy-storchaka would like to review it. |
The previous version was apparantly not clear enough.
@vstinner thanks! (I was asking you because of your commit cb99d99 on |
serhiy-storchaka
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. 👍
vstinner
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. Should we backport this change to 3.13 and 3.14?
@vstinner thank you!
I have a feeling the question is probably more towards other Python core devs. If you decide for it and @bedevere-bot has trouble auto-cherry-picking, I'll be happy to help with a manual backbort. |
|
If it is worth to be committed in main, it should be backported. |
|
Ready to merge? |
|
Thanks @hartwork for the PR, and @serhiy-storchaka for merging it 🌮🎉.. I'm working now to backport this PR to: 3.13, 3.14. |
Clarify that: - it takes parsing for an attack - that some doors are closed by default - only Expat version 2.7.2 has all the fixes - use of the bundle depends on configuration (cherry picked from commit baa9f33) Co-authored-by: Sebastian Pipping <[email protected]>
|
GH-141065 is a backport of this pull request to the 3.14 branch. |
Clarify that: - it takes parsing for an attack - that some doors are closed by default - only Expat version 2.7.2 has all the fixes - use of the bundle depends on configuration (cherry picked from commit baa9f33) Co-authored-by: Sebastian Pipping <[email protected]>
|
GH-141066 is a backport of this pull request to the 3.13 branch. |
Clarify that: - it takes parsing for an attack - that some doors are closed by default - only Expat version 2.7.2 has all the fixes - use of the bundle depends on configuration (cherry picked from commit baa9f33) Co-authored-by: Sebastian Pipping <[email protected]>
Clarify that: - it takes parsing for an attack - that some doors are closed by default - only Expat version 2.7.2 has all the fixes - use of the bundle depends on configuration (cherry picked from commit baa9f33) Co-authored-by: Sebastian Pipping <[email protected]>
|
@serhiy-storchaka thank you! 🙏 |
|
Thank you for your contribution. |
📚 Documentation preview 📚: https://cpython-previews--139460.org.readthedocs.build/