Title: [3.11] gh-102153: Start stripping C0 control and space chars in `urlsplit` (GH-102508) by miss-islington · Pull Request #104575 · python/cpython · GitHub
Open Graph Title: [3.11] gh-102153: Start stripping C0 control and space chars in `urlsplit` (GH-102508) by miss-islington · Pull Request #104575 · python/cpython
X Title: [3.11] gh-102153: Start stripping C0 control and space chars in `urlsplit` (GH-102508) by miss-islington · Pull Request #104575 · python/cpython
Description: urllib.parse.urlsplit has already been respecting the WHATWG spec a bit GH-25595. This adds more sanitizing to respect the "Remove any leading C0 control or space from input" rule in response to CVE-2023-24329. (cherry picked from commit 2f630e1) Co-authored-by: Illia Volochii illia.volochii@gmail.com Co-authored-by: Gregory P. Smith [Google] greg@krypto.org Issue: gh-102153 📚 Documentation preview 📚: https://cpython-previews--104575.org.readthedocs.build/
Open Graph Description: urllib.parse.urlsplit has already been respecting the WHATWG spec a bit GH-25595. This adds more sanitizing to respect the "Remove any leading C0 control or space from input" rule in resp...
X Description: urllib.parse.urlsplit has already been respecting the WHATWG spec a bit GH-25595. This adds more sanitizing to respect the "Remove any leading C0 control or space from input" rule...
Opengraph URL: https://github.com/python/cpython/pull/104575
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/checks(.:format) |
| route-controller | pull_requests |
| route-action | checks |
| fetch-nonce | v2:d3e0d992-56a5-a327-05bc-d74494321c2e |
| current-catalog-service-hash | 87dc3bc62d9b466312751bfd5f889726f4f1337bdff4e8be7da7c93d6c00a25a |
| request-id | ED06:E3A3B:811B98:AC7B02:69697A69 |
| html-safe-nonce | aad3099b8919b96d7c50a5cb763dacc05be2f1eb68a699948dee539d9e4a56e9 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFRDA2OkUzQTNCOjgxMUI5ODpBQzdCMDI6Njk2OTdBNjkiLCJ2aXNpdG9yX2lkIjoiMzM1ODIzOTYxMjAyNTI3MjkzNyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 7a5aca3ed16f764498574b76a4b3fe7dcd64b58405995966b8ec8b9c7b716c9e |
| hovercard-subject-tag | pull_request:1353745644 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,checks,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/104575/checks |
| twitter:image | https://avatars.githubusercontent.com/u/31488909?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/31488909?s=400&v=4 |
| og:image:alt | urllib.parse.urlsplit has already been respecting the WHATWG spec a bit GH-25595. This adds more sanitizing to respect the "Remove any leading C0 control or space from input" rule in resp... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | c6f193beb8ff08443adc07685d75302ab8aaf0a135f6e251c3ff3112c8deb881 |
| turbo-cache-control | no-preview |
| 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 full-width-p-0 |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 212e3e3d3298bf5b313830edfd2399e869f7ea76 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width