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/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:0fef4f79-fb14-e1ab-fd6e-adef6c9a5949 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | A98C:5DD66:9BC2C:D2186:6969B58E |
| html-safe-nonce | 1a515f99f985aa74b62745b3ca36f97417e0a1389cf0b0c746152af8a92a4be7 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBOThDOjVERDY2OjlCQzJDOkQyMTg2OjY5NjlCNThFIiwidmlzaXRvcl9pZCI6IjUyNTgzNjAyODM2NzQwMzE1MDIiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | db9e76caadf70f3cdcbaa12bf13d1a61efa5680c434d9b6e81d4aa09d8ef2bf3 |
| hovercard-subject-tag | pull_request:1363779211 |
| 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/104895/files |
| 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 | 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