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/checks(.:format) |
| route-controller | pull_requests |
| route-action | checks |
| fetch-nonce | v2:872b4e88-a8a0-10a3-2a8a-2e7b22a235b4 |
| current-catalog-service-hash | 87dc3bc62d9b466312751bfd5f889726f4f1337bdff4e8be7da7c93d6c00a25a |
| request-id | E24C:1ED5B9:F26959:14C9335:6969F347 |
| html-safe-nonce | c9bced2c3399832bd3e7b9862e1436da5642166a6d3de9eb77f1e3d6cd83837b |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFMjRDOjFFRDVCOTpGMjY5NTk6MTRDOTMzNTo2OTY5RjM0NyIsInZpc2l0b3JfaWQiOiI3MTkyNDY2MTk0MDE3NDE2MDA3IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | f63a8cf17ede25e297c7c50e59df68acbf34ac87edbdb393847845631929a144 |
| hovercard-subject-tag | pull_request:126532958 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,checks,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/checks |
| 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 | 7b32f1c7c4549428ee399213e8345494fc55b5637195d3fc5f493657579235e8 |
| turbo-cache-control | no-preview |
| 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 full-width-p-0 |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | bdde15ad1b403e23b08bbd89b53fbe6bdf688cad |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width