René's URL Explorer Experiment


Title: gh-61441: XML entity expansion limitation by tiran · Pull Request #9265 · python/cpython · GitHub

Open Graph Title: gh-61441: XML entity expansion limitation by tiran · Pull Request #9265 · python/cpython

X Title: gh-61441: XML entity expansion limitation by tiran · Pull Request #9265 · python/cpython

Description: Modelled after https://github.com/GNOME/libxml2/blob/v2.9.8/parser.c#L99 Signed-off-by: Christian Heimes christian@python.org https://bugs.python.org/issue17239 Issue: gh-61441

Open Graph Description: Modelled after https://github.com/GNOME/libxml2/blob/v2.9.8/parser.c#L99 Signed-off-by: Christian Heimes christian@python.org https://bugs.python.org/issue17239 Issue: gh-61441

X Description: Modelled after https://github.com/GNOME/libxml2/blob/v2.9.8/parser.c#L99 Signed-off-by: Christian Heimes christian@python.org https://bugs.python.org/issue17239 Issue: gh-61441

Opengraph URL: https://github.com/python/cpython/pull/9265

X: @github

direct link

Domain: github.com

route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:93690725-21ea-e7bc-235f-7f8f3c5fa2fb
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idB0D8:35AE45:93FD4D:DA3E35:6A4E1AB7
html-safe-nonceed14975b5cc178e15722cc1629754fde04a32c161a288a8e9e678ce9dc1b202e
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCMEQ4OjM1QUU0NTo5M0ZENEQ6REEzRTM1OjZBNEUxQUI3IiwidmlzaXRvcl9pZCI6IjczNDAyNDYzMzc4MzE0NDMxMjciLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmacd0bdf59de55d485b85f8aeb23b026245bf2dca16aecb6784a347d0e2b7c3a5ac
hovercard-subject-tagpull_request:215354887
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///pull_requests/show/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/python/cpython/pull/9265/files
twitter:imagehttps://avatars.githubusercontent.com/u/444071?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/444071?s=400&v=4
og:image:altModelled after https://github.com/GNOME/libxml2/blob/v2.9.8/parser.c#L99 Signed-off-by: Christian Heimes christian@python.org https://bugs.python.org/issue17239 Issue: gh-61441
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None030096ee0db095447bfe77409d33bfac127ca7128299c58deef27c52eaa1b1f0
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/python/cpython git https://github.com/python/cpython.git
octolytics-dimension-user_id1525981
octolytics-dimension-user_loginpython
octolytics-dimension-repository_id81598961
octolytics-dimension-repository_nwopython/cpython
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id81598961
octolytics-dimension-repository_network_root_nwopython/cpython
turbo-body-classeslogged-out env-production page-responsive full-width
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release5fe497b4815fcce3df76c0e246faa739a82c3124
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python/cpython/pull/9265/files#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F9265%2Ffiles
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
GitHub Starshttps://stars.github.com
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F9265%2Ffiles
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=python%2Fcpython
Reloadhttps://github.com/python/cpython/pull/9265/files
Reloadhttps://github.com/python/cpython/pull/9265/files
Reloadhttps://github.com/python/cpython/pull/9265/files
Please reload this pagehttps://github.com/python/cpython/pull/9265/files
python https://github.com/python
cpythonhttps://github.com/python/cpython
Please reload this pagehttps://github.com/python/cpython/pull/9265/files
Notifications https://github.com/login?return_to=%2Fpython%2Fcpython
Fork 34.8k https://github.com/login?return_to=%2Fpython%2Fcpython
Star 73.6k https://github.com/login?return_to=%2Fpython%2Fcpython
Code https://github.com/python/cpython
Issues 5k+ https://github.com/python/cpython/issues
Pull requests 2.3k https://github.com/python/cpython/pulls
Actions https://github.com/python/cpython/actions
Projects https://github.com/python/cpython/projects
Security and quality 0 https://github.com/python/cpython/security
Insights https://github.com/python/cpython/pulse
Code https://github.com/python/cpython
Issues https://github.com/python/cpython/issues
Pull requests https://github.com/python/cpython/pulls
Actions https://github.com/python/cpython/actions
Projects https://github.com/python/cpython/projects
Security and quality https://github.com/python/cpython/security
Insights https://github.com/python/cpython/pulse
Sign up for GitHub https://github.com/signup?return_to=%2Fpython%2Fcpython%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Fpython%2Fcpython%2Fissues%2Fnew%2Fchoose
tiranhttps://github.com/tiran
python:mainhttps://github.com/python/cpython/tree/main
tiran:bpo17239-expat-limithttps://github.com/tiran/cpython/tree/bpo17239-expat-limit
Conversation 8 https://github.com/python/cpython/pull/9265
Commits 1 https://github.com/python/cpython/pull/9265/commits
Checks 0 https://github.com/python/cpython/pull/9265/checks
Files changed https://github.com/python/cpython/pull/9265/files
Please reload this pagehttps://github.com/python/cpython/pull/9265/files
gh-61441: XML entity expansion limitation https://github.com/python/cpython/pull/9265/files#top
Show all changes 1 commit https://github.com/python/cpython/pull/9265/files
504e092 bpo-17239: XML entity expansion limitation tiran Sep 13, 2018 https://github.com/python/cpython/pull/9265/commits/504e0920f46a697e9baf2d7e6b05bbaee4d4e451
Clear filters https://github.com/python/cpython/pull/9265/files
Please reload this pagehttps://github.com/python/cpython/pull/9265/files
Please reload this pagehttps://github.com/python/cpython/pull/9265/files
pyexpat.h https://github.com/python/cpython/pull/9265/files#diff-aaf968eca81814ffa95a34e5152e81daeae19728dbdf3b936929ea8939edf1d3
test_sax.py https://github.com/python/cpython/pull/9265/files#diff-849099ae522fd1e278d65ffb7cdc29866e97ec8e8b03ea5ef72121b6ccb46d1c
expansionlimit.xml https://github.com/python/cpython/pull/9265/files#diff-71cb2615a5b3b5386a630b8878aa164dc7fa3cc2c31a672266ee52eca78fd85d
nestinglimit.xml https://github.com/python/cpython/pull/9265/files#diff-673d09fa33568218a5240d5896ab91ce3d36358c8a62ceed7f0e0430af287460
expatbuilder.py https://github.com/python/cpython/pull/9265/files#diff-fa624398f98240513efd35c52f8985aea7a9c85e99d040a3bb78fce27ffdc7b0
xmlbuilder.py https://github.com/python/cpython/pull/9265/files#diff-107579a7d310e8ea346d9c309bd163d432953b8f189caf76fcca2a746defec34
ElementTree.py https://github.com/python/cpython/pull/9265/files#diff-6cc017478b4d1fa353b3869176b34a540106a61462417ba0ee1a77fc64eef673
expatreader.py https://github.com/python/cpython/pull/9265/files#diff-5b3b82b41c313d185766413a8553fb784970e7851cdf1d57ecf4edb9108f30f4
handler.py https://github.com/python/cpython/pull/9265/files#diff-baf9f286e54f4038dd8cd4b73516af231ad4a0b3173cf8bc56306306797bfdab
_elementtree.c https://github.com/python/cpython/pull/9265/files#diff-72f80c6ac0294ae74c7b014c12bcf229e9df089ab19018ea35fd61c58fdb69ac
expat.h https://github.com/python/cpython/pull/9265/files#diff-4f65d26ee522714ee0126f75a7f953289e9007ca4156b3eb1603a3878e3c79d1
pyexpatns.h https://github.com/python/cpython/pull/9265/files#diff-593aa58f7fece311bd3460ce4c36115af911238f5f94c884f94ac3f984ed1329
xmlparse.c https://github.com/python/cpython/pull/9265/files#diff-12018a246e87b7d86f017c2b722dc3019d3af405e6b217bdfb029b02da363c8d
pyexpat.c https://github.com/python/cpython/pull/9265/files#diff-0534aca0d881f2dd1100e875602f98da60bf20ce127564896dc1e8a92a6fad2c
Include/pyexpat.hhttps://github.com/python/cpython/pull/9265/files#diff-aaf968eca81814ffa95a34e5152e81daeae19728dbdf3b936929ea8939edf1d3
View file https://github.com/tiran/cpython/blob/504e0920f46a697e9baf2d7e6b05bbaee4d4e451/Include/pyexpat.h
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/9265/{{ revealButtonHref }}
https://github.com/python/cpython/pull/9265/files#diff-aaf968eca81814ffa95a34e5152e81daeae19728dbdf3b936929ea8939edf1d3
https://github.com/python/cpython/pull/9265/files#diff-aaf968eca81814ffa95a34e5152e81daeae19728dbdf3b936929ea8939edf1d3
https://github.com/python/cpython/pull/9265/files#diff-aaf968eca81814ffa95a34e5152e81daeae19728dbdf3b936929ea8939edf1d3
Lib/test/test_sax.pyhttps://github.com/python/cpython/pull/9265/files#diff-849099ae522fd1e278d65ffb7cdc29866e97ec8e8b03ea5ef72121b6ccb46d1c
View file https://github.com/tiran/cpython/blob/504e0920f46a697e9baf2d7e6b05bbaee4d4e451/Lib/test/test_sax.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/9265/{{ revealButtonHref }}
https://github.com/python/cpython/pull/9265/files#diff-849099ae522fd1e278d65ffb7cdc29866e97ec8e8b03ea5ef72121b6ccb46d1c
https://github.com/python/cpython/pull/9265/files#diff-849099ae522fd1e278d65ffb7cdc29866e97ec8e8b03ea5ef72121b6ccb46d1c
https://github.com/python/cpython/pull/9265/files#diff-849099ae522fd1e278d65ffb7cdc29866e97ec8e8b03ea5ef72121b6ccb46d1c
https://github.com/python/cpython/pull/9265/files#diff-849099ae522fd1e278d65ffb7cdc29866e97ec8e8b03ea5ef72121b6ccb46d1c
https://github.com/python/cpython/pull/9265/files#diff-849099ae522fd1e278d65ffb7cdc29866e97ec8e8b03ea5ef72121b6ccb46d1c
Lib/test/xmltestdata/expansionlimit.xmlhttps://github.com/python/cpython/pull/9265/files#diff-71cb2615a5b3b5386a630b8878aa164dc7fa3cc2c31a672266ee52eca78fd85d
View file https://github.com/tiran/cpython/blob/504e0920f46a697e9baf2d7e6b05bbaee4d4e451/Lib/test/xmltestdata/expansionlimit.xml
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/9265/{{ revealButtonHref }}
Lib/test/xmltestdata/nestinglimit.xmlhttps://github.com/python/cpython/pull/9265/files#diff-673d09fa33568218a5240d5896ab91ce3d36358c8a62ceed7f0e0430af287460
View file https://github.com/tiran/cpython/blob/504e0920f46a697e9baf2d7e6b05bbaee4d4e451/Lib/test/xmltestdata/nestinglimit.xml
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/9265/{{ revealButtonHref }}
Lib/xml/dom/expatbuilder.pyhttps://github.com/python/cpython/pull/9265/files#diff-fa624398f98240513efd35c52f8985aea7a9c85e99d040a3bb78fce27ffdc7b0
View file https://github.com/tiran/cpython/blob/504e0920f46a697e9baf2d7e6b05bbaee4d4e451/Lib/xml/dom/expatbuilder.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/9265/{{ revealButtonHref }}
https://github.com/python/cpython/pull/9265/files#diff-fa624398f98240513efd35c52f8985aea7a9c85e99d040a3bb78fce27ffdc7b0
https://github.com/python/cpython/pull/9265/files#diff-fa624398f98240513efd35c52f8985aea7a9c85e99d040a3bb78fce27ffdc7b0
Lib/xml/dom/xmlbuilder.pyhttps://github.com/python/cpython/pull/9265/files#diff-107579a7d310e8ea346d9c309bd163d432953b8f189caf76fcca2a746defec34
View file https://github.com/tiran/cpython/blob/504e0920f46a697e9baf2d7e6b05bbaee4d4e451/Lib/xml/dom/xmlbuilder.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/9265/{{ revealButtonHref }}
https://github.com/python/cpython/pull/9265/files#diff-107579a7d310e8ea346d9c309bd163d432953b8f189caf76fcca2a746defec34
https://github.com/python/cpython/pull/9265/files#diff-107579a7d310e8ea346d9c309bd163d432953b8f189caf76fcca2a746defec34
Lib/xml/etree/ElementTree.pyhttps://github.com/python/cpython/pull/9265/files#diff-6cc017478b4d1fa353b3869176b34a540106a61462417ba0ee1a77fc64eef673
View file https://github.com/tiran/cpython/blob/504e0920f46a697e9baf2d7e6b05bbaee4d4e451/Lib/xml/etree/ElementTree.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/9265/{{ revealButtonHref }}
https://github.com/python/cpython/pull/9265/files#diff-6cc017478b4d1fa353b3869176b34a540106a61462417ba0ee1a77fc64eef673
https://github.com/python/cpython/pull/9265/files#diff-6cc017478b4d1fa353b3869176b34a540106a61462417ba0ee1a77fc64eef673
Lib/xml/sax/expatreader.pyhttps://github.com/python/cpython/pull/9265/files#diff-5b3b82b41c313d185766413a8553fb784970e7851cdf1d57ecf4edb9108f30f4
View file https://github.com/tiran/cpython/blob/504e0920f46a697e9baf2d7e6b05bbaee4d4e451/Lib/xml/sax/expatreader.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/9265/{{ revealButtonHref }}
https://github.com/python/cpython/pull/9265/files#diff-5b3b82b41c313d185766413a8553fb784970e7851cdf1d57ecf4edb9108f30f4
https://github.com/python/cpython/pull/9265/files#diff-5b3b82b41c313d185766413a8553fb784970e7851cdf1d57ecf4edb9108f30f4
https://github.com/python/cpython/pull/9265/files#diff-5b3b82b41c313d185766413a8553fb784970e7851cdf1d57ecf4edb9108f30f4
https://github.com/python/cpython/pull/9265/files#diff-5b3b82b41c313d185766413a8553fb784970e7851cdf1d57ecf4edb9108f30f4
https://github.com/python/cpython/pull/9265/files#diff-5b3b82b41c313d185766413a8553fb784970e7851cdf1d57ecf4edb9108f30f4
https://github.com/python/cpython/pull/9265/files#diff-5b3b82b41c313d185766413a8553fb784970e7851cdf1d57ecf4edb9108f30f4
https://github.com/python/cpython/pull/9265/files#diff-5b3b82b41c313d185766413a8553fb784970e7851cdf1d57ecf4edb9108f30f4
https://github.com/python/cpython/pull/9265/files#diff-5b3b82b41c313d185766413a8553fb784970e7851cdf1d57ecf4edb9108f30f4
https://github.com/python/cpython/pull/9265/files#diff-5b3b82b41c313d185766413a8553fb784970e7851cdf1d57ecf4edb9108f30f4
Lib/xml/sax/handler.pyhttps://github.com/python/cpython/pull/9265/files#diff-baf9f286e54f4038dd8cd4b73516af231ad4a0b3173cf8bc56306306797bfdab
View file https://github.com/tiran/cpython/blob/504e0920f46a697e9baf2d7e6b05bbaee4d4e451/Lib/xml/sax/handler.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/9265/{{ revealButtonHref }}
https://github.com/python/cpython/pull/9265/files#diff-baf9f286e54f4038dd8cd4b73516af231ad4a0b3173cf8bc56306306797bfdab
https://github.com/python/cpython/pull/9265/files#diff-baf9f286e54f4038dd8cd4b73516af231ad4a0b3173cf8bc56306306797bfdab
Modules/_elementtree.chttps://github.com/python/cpython/pull/9265/files#diff-72f80c6ac0294ae74c7b014c12bcf229e9df089ab19018ea35fd61c58fdb69ac
View file https://github.com/tiran/cpython/blob/504e0920f46a697e9baf2d7e6b05bbaee4d4e451/Modules/_elementtree.c
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/9265/{{ revealButtonHref }}
https://github.com/python/cpython/pull/9265/files#diff-72f80c6ac0294ae74c7b014c12bcf229e9df089ab19018ea35fd61c58fdb69ac
https://github.com/python/cpython/pull/9265/files#diff-72f80c6ac0294ae74c7b014c12bcf229e9df089ab19018ea35fd61c58fdb69ac
https://github.com/python/cpython/pull/9265/files#diff-72f80c6ac0294ae74c7b014c12bcf229e9df089ab19018ea35fd61c58fdb69ac
https://github.com/python/cpython/pull/9265/files#diff-72f80c6ac0294ae74c7b014c12bcf229e9df089ab19018ea35fd61c58fdb69ac
https://github.com/python/cpython/pull/9265/files#diff-72f80c6ac0294ae74c7b014c12bcf229e9df089ab19018ea35fd61c58fdb69ac
https://github.com/python/cpython/pull/9265/files#diff-72f80c6ac0294ae74c7b014c12bcf229e9df089ab19018ea35fd61c58fdb69ac
Please reload this pagehttps://github.com/python/cpython/pull/9265/files
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.