Title: [3.3] bpo-30500: urllib: Simplify splithost by calling into urlparse. (#1849) by vstinner · Pull Request #2292 · python/cpython · GitHub
Open Graph Title: [3.3] bpo-30500: urllib: Simplify splithost by calling into urlparse. (#1849) by vstinner · Pull Request #2292 · python/cpython
X Title: [3.3] bpo-30500: urllib: Simplify splithost by calling into urlparse. (#1849) by vstinner · Pull Request #2292 · python/cpython
Description: The current regex based splitting produces a wrong result. For example:: http://abc#@def Web browsers parse that URL as http://abc/#@def, that is, the host is abc, the path is /, and the fragment is #@def. (cherry picked from commit 90e01e5) https://bugs.python.org/issue30500
Open Graph Description: The current regex based splitting produces a wrong result. For example:: http://abc#@def Web browsers parse that URL as http://abc/#@def, that is, the host is abc, the path is /, and the fragment i...
X Description: The current regex based splitting produces a wrong result. For example:: http://abc#@def Web browsers parse that URL as http://abc/#@def, that is, the host is abc, the path is /, and the fragment i...
Opengraph URL: https://github.com/python/cpython/pull/2292
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:b9db03d1-07f7-1a1e-9326-43ba24fd30b5 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | CDB6:2D346D:921C4:C3F5F:696A0B0E |
| html-safe-nonce | 1f1dc1ee439bae4f78968c46bf4ac0f9aa8764dc6d2af36ae81593a42dfb5e5e |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDREI2OjJEMzQ2RDo5MjFDNDpDM0Y1Rjo2OTZBMEIwRSIsInZpc2l0b3JfaWQiOiI3ODkyNzU1MTE0MDcyMDgzMjE1IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | c9a18d796908b3a695eae28ff66e07458f7d3293222ee998bfa5111821d69a5f |
| hovercard-subject-tag | pull_request:126532958 |
| 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/2292/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 | The current regex based splitting produces a wrong result. For example:: http://abc#@def Web browsers parse that URL as http://abc/#@def, that is, the host is abc, the path is /, and the fragment i... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 699227a00bbb7fe1eec276d2ae1c3a93068bc5ba483bd9dc4b2a27a8f4f2f595 |
| 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 | 7266b2d935baa1c6474b16dd9feaa5ca30607261 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width