Title: [3.8] bpo-39603: Prevent header injection in http methods (GH-18485) by miss-islington · Pull Request #21537 · python/cpython · GitHub
Open Graph Title: [3.8] bpo-39603: Prevent header injection in http methods (GH-18485) by miss-islington · Pull Request #21537 · python/cpython
X Title: [3.8] bpo-39603: Prevent header injection in http methods (GH-18485) by miss-islington · Pull Request #21537 · python/cpython
Description: reject control chars in http method in http.client.putrequest to prevent http header injection (cherry picked from commit 8ca8a2e) Co-authored-by: AMIR 31338382+amiremohamadi@users.noreply.github.com 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) Co-authored-by: AMIR 31338382+amiremohamadi@users.noreply.github.c...
X Description: reject control chars in http method in http.client.putrequest to prevent http header injection (cherry picked from commit 8ca8a2e) Co-authored-by: AMIR 31338382+amiremohamadi@users.noreply.github.c...
Opengraph URL: https://github.com/python/cpython/pull/21537
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:a284a999-8f6c-5fcd-2bcc-f1394958b58a |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | CD74:103F1E:2EABB14:4173D74:6A50E88C |
| html-safe-nonce | c43647103bcca8bd4410e8db79eac57f02562f64b530abfd97100d0529de9a7f |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDRDc0OjEwM0YxRToyRUFCQjE0OjQxNzNENzQ6NkE1MEU4OEMiLCJ2aXNpdG9yX2lkIjoiMzk1MTg5NDg3NTA3MTM3NTUwMCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 254f444e61909b8bb0566e1f24db69fe21325f1a87957ce61caeca5274d5e8ee |
| hovercard-subject-tag | pull_request:452120831 |
| 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/21537/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 | reject control chars in http method in http.client.putrequest to prevent http header injection (cherry picked from commit 8ca8a2e) Co-authored-by: AMIR 31338382+amiremohamadi@users.noreply.github.c... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 72b13e0e8d0319acdd27a145cfe73f4f06c791713d0ac4690e41fb68ad28cac0 |
| 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 | fb19d617b534959801b4b7453938ecf1dfa22131 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width