Title: [3.5] bpo-39603: Prevent header injection in http methods (GH-18485) by vstinner · Pull Request #21946 · python/cpython · GitHub
Open Graph Title: [3.5] bpo-39603: Prevent header injection in http methods (GH-18485) by vstinner · Pull Request #21946 · python/cpython
X Title: [3.5] bpo-39603: Prevent header injection in http methods (GH-18485) by vstinner · Pull Request #21946 · python/cpython
Description: reject control chars in http method in http.client.putrequest to prevent http header injection (cherry picked from commit 8ca8a2e) https://bugs.python.org/issue39603
Open Graph Description: reject control chars in http method in http.client.putrequest to prevent http header injection (cherry picked from commit 8ca8a2e) https://bugs.python.org/issue39603
X Description: reject control chars in http method in http.client.putrequest to prevent http header injection (cherry picked from commit 8ca8a2e) https://bugs.python.org/issue39603
Opengraph URL: https://github.com/python/cpython/pull/21946
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:75861add-5a34-9265-5f14-251c979508ca |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | A6C4:1EE1:690372A:92F5650:6A5077E6 |
| html-safe-nonce | 93518cb19ac16c5a3e4b65af6c3c0efa08b89e0a7005c931633217a9d02c8152 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBNkM0OjFFRTE6NjkwMzcyQTo5MkY1NjUwOjZBNTA3N0U2IiwidmlzaXRvcl9pZCI6IjE1MTg4NDM2NDc5MTE4MzMzNCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 8113f37f96c3c6dc89d35868918d9678445656654b1f8db60e0e945b2a3864e2 |
| hovercard-subject-tag | pull_request:472611458 |
| 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/21946/files |
| twitter:image | https://avatars.githubusercontent.com/u/194129?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/194129?s=400&v=4 |
| og:image:alt | reject control chars in http method in http.client.putrequest to prevent http header injection (cherry picked from commit 8ca8a2e) https://bugs.python.org/issue39603 |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | d6dc8294eb500fa36bbc57472d61fe87c522f9c3c1d64f70f4926f66a66a7efb |
| 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 | 7ac0ad2f2c7e4b9056617355fd9e33e22b0c8df9 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width