Title: [3.8] gh-102153: Start stripping C0 control and space chars in `urlsplit` (GH-102508) (GH-104575) (GH-104592) (#104593) by stratakis · Pull Request #104895 · python/cpython · GitHub
Open Graph Title: [3.8] gh-102153: Start stripping C0 control and space chars in `urlsplit` (GH-102508) (GH-104575) (GH-104592) (#104593) by stratakis · Pull Request #104895 · python/cpython
X Title: [3.8] gh-102153: Start stripping C0 control and space chars in `urlsplit` (GH-102508) (GH-104575) (GH-104592) (#104593) by stratakis · Pull Request #104895 · python/cpython
Description: gh-102153: Start stripping C0 control and space chars in urlsplit (GH-102508) 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. I simplified the docs by eliding the state of the world explanatory paragraph in this security release only backport. (people will see that in the mainline /3/ docs) (cherry picked from commit d7f8a5f) (cherry picked from commit 2f630e1) (cherry picked from commit 610cc0a) (cherry picked from commit f48a96a)
Open Graph Description: gh-102153: Start stripping C0 control and space chars in urlsplit (GH-102508) urllib.parse.urlsplit has already been respecting the WHATWG spec a bit GH-25595. This adds more sanitizing to respect ...
X Description: gh-102153: Start stripping C0 control and space chars in urlsplit (GH-102508) urllib.parse.urlsplit has already been respecting the WHATWG spec a bit GH-25595. This adds more sanitizing to respect ...
Opengraph URL: https://github.com/python/cpython/pull/104895
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/checks(.:format) |
| route-controller | pull_requests |
| route-action | checks |
| fetch-nonce | v2:56cf328e-3c69-32cc-bba6-03978414c0b9 |
| current-catalog-service-hash | 87dc3bc62d9b466312751bfd5f889726f4f1337bdff4e8be7da7c93d6c00a25a |
| request-id | BF94:E3A3B:8070D8:AB9AF6:69697A47 |
| html-safe-nonce | 12b4b0aa451f307517efcaf0bb831f84e319240394e6a8697fbc6e0817df0be8 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCRjk0OkUzQTNCOjgwNzBEODpBQjlBRjY6Njk2OTdBNDciLCJ2aXNpdG9yX2lkIjoiNjcwNjA3NjYzMTEwMjQ4NzExMSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 9b13d3523ce49227750d44c7829cfd0945b851f6dc7352f077732a3d363e96ab |
| hovercard-subject-tag | pull_request:1363779211 |
| 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/104895/checks |
| twitter:image | https://avatars.githubusercontent.com/u/14812606?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/14812606?s=400&v=4 |
| og:image:alt | gh-102153: Start stripping C0 control and space chars in urlsplit (GH-102508) urllib.parse.urlsplit has already been respecting the WHATWG spec a bit GH-25595. This adds more sanitizing to respect ... |
| 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