Title: [3.14] gh-90949: expose Expat API to tune exponential expansion protections (GH-139368) by StanFromIreland · Pull Request #150496 · python/cpython · GitHub
Open Graph Title: [3.14] gh-90949: expose Expat API to tune exponential expansion protections (GH-139368) by StanFromIreland · Pull Request #150496 · python/cpython
X Title: [3.14] gh-90949: expose Expat API to tune exponential expansion protections (GH-139368) by StanFromIreland · Pull Request #150496 · python/cpython
Description: Expose the XML Expat 2.7.2 APIs to tune protections against "billion laughs" 1 attacks. The exposed APIs are available on Expat parsers, that is, parsers created by xml.parsers.expat.ParserCreate(), as: parser.SetBillionLaughsAttackProtectionActivationThreshold(threshold), and parser.SetBillionLaughsAttackProtectionMaximumAmplification(max_factor). This completes the work in f04bea4, and improves the existing related documentation. Issue: gh-90949
Open Graph Description: Expose the XML Expat 2.7.2 APIs to tune protections against "billion laughs" 1 attacks. The exposed APIs are available on Expat parsers, that is, parsers created by xml.parsers.expat.Pars...
X Description: Expose the XML Expat 2.7.2 APIs to tune protections against "billion laughs" 1 attacks. The exposed APIs are available on Expat parsers, that is, parsers created by xml.parsers.ex...
Opengraph URL: https://github.com/python/cpython/pull/150496
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:b149b6db-0c22-55b8-bf27-b91423a8adfb |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | 8BCC:3FCE56:3FF70A4:5A6DF10:6A56C862 |
| html-safe-nonce | fb5efbe077e71b8b480032b57c8fe2665272d464b1fd721dbce0d46c929e858c |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4QkNDOjNGQ0U1NjozRkY3MEE0OjVBNkRGMTA6NkE1NkM4NjIiLCJ2aXNpdG9yX2lkIjoiNTY0MzAxOTkwODM2MTQwNjU2MiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 897ad55307e98e1dae5b7cdbe48f2ae0b82590f2953fb53ed9eef18b47d2709f |
| hovercard-subject-tag | pull_request:3750875634 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/python/cpython/pull/150496/files |
| twitter:image | https://avatars.githubusercontent.com/u/89152624?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/89152624?s=400&v=4 |
| og:image:alt | Expose the XML Expat 2.7.2 APIs to tune protections against "billion laughs" 1 attacks. The exposed APIs are available on Expat parsers, that is, parsers created by xml.parsers.expat.Pars... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | df99b7164e1d961b639cf5d3cbd6b5ba673edc67bd7e47cdc4746b96099e11ae |
| turbo-cache-control | no-preview |
| diff-view | unified |
| go-import | github.com/python/cpython git https://github.com/python/cpython.git |
| octolytics-dimension-user_id | 1525981 |
| octolytics-dimension-user_login | python |
| octolytics-dimension-repository_id | 81598961 |
| octolytics-dimension-repository_nwo | python/cpython |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 81598961 |
| octolytics-dimension-repository_network_root_nwo | python/cpython |
| turbo-body-classes | logged-out env-production page-responsive full-width |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 3146ab55fc8763ab0e1d2a875e600b3a545bc751 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width