Title: [3.9] gh-102153: Start stripping C0 control and space chars in `urlsplit` (GH-102508) (GH-104575) (GH-104592) by miss-islington · Pull Request #104593 · python/cpython · GitHub
Open Graph Title: [3.9] gh-102153: Start stripping C0 control and space chars in `urlsplit` (GH-102508) (GH-104575) (GH-104592) by miss-islington · Pull Request #104593 · python/cpython
X Title: [3.9] gh-102153: Start stripping C0 control and space chars in `urlsplit` (GH-102508) (GH-104575) (GH-104592) by miss-islington · Pull Request #104593 · 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 2f630e1) (cherry picked from commit 610cc0a) (cherry picked from commit f48a96a) Co-authored-by: Miss Islington (bot) 31488909+miss-islington@users.noreply.github.com Co-authored-by: Illia Volochii illia.volochii@gmail.com Co-authored-by: Gregory P. Smith [Google] greg@krypto.org
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/104593
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:31f48a7f-707a-d18d-e0b0-42e5a9c96986 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | A9EC:680AB:64CC29:880F3B:6969B58D |
| html-safe-nonce | a60c9c350700a6463d40f0bd12449b00a92b16199ba6c35bc0eca4727287cb1d |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBOUVDOjY4MEFCOjY0Q0MyOTo4ODBGM0I6Njk2OUI1OEQiLCJ2aXNpdG9yX2lkIjoiNzY1NzE0NzQwNzM3NTM4MTkwMSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | c3c3efd6bec4c650cd8cff4d75209ba1eff1f90a0c742f61758b915d22e5f9d1 |
| hovercard-subject-tag | pull_request:1354941121 |
| 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/104593/files |
| 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 | 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 | b23b8fcc855cd29bb04d6c94aafa62d336bf44eefa8229444eecc968cad03aee |
| 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 | 0672399d88424758731ec07fe24509e23bb17fb5 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width