Title: [2.7] bpo-30500: urllib: Simplify splithost by calling into urlparse. (#1849) by vstinner · Pull Request #2294 · python/cpython · GitHub
Open Graph Title: [2.7] bpo-30500: urllib: Simplify splithost by calling into urlparse. (#1849) by vstinner · Pull Request #2294 · python/cpython
X Title: [2.7] bpo-30500: urllib: Simplify splithost by calling into urlparse. (#1849) by vstinner · Pull Request #2294 · 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)
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/2294
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:786efc3a-33e1-7c5b-b091-7144909f7b1f |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | E16E:200E33:46ABB2:63601E:696A0C10 |
| html-safe-nonce | f7f10c0e1ae498f8eb7a241bfd92e4420c9da0f9484bf91e1d21da57c59e39c6 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFMTZFOjIwMEUzMzo0NkFCQjI6NjM2MDFFOjY5NkEwQzEwIiwidmlzaXRvcl9pZCI6Ijc4ODk5Mzk5ODYzNDc4NTQ4NjQiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 07c2ed2e1c7cdd09f14d7e170b46c62b64ccba405e55dfbaf433c5b4daf477dd |
| hovercard-subject-tag | pull_request:126536665 |
| 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/2294/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