Title: urllib2/urllib.parse.splitport does not handle IPv6 correctly · Issue #62391 · python/cpython · GitHub
Open Graph Title: urllib2/urllib.parse.splitport does not handle IPv6 correctly · Issue #62391 · python/cpython
X Title: urllib2/urllib.parse.splitport does not handle IPv6 correctly · Issue #62391 · python/cpython
Description: BPO 18191 Nosy @vstinner, @dhellmann, @jd, @berkerpeksag, @serhiy-storchaka Dependencies bpo-20270: urllib.parse doesn't work with empty portbpo-20271: urllib.parse.urlparse() accepts wrong URLs Files 0001-Make-urllib.parse.splitport-han...
Open Graph Description: BPO 18191 Nosy @vstinner, @dhellmann, @jd, @berkerpeksag, @serhiy-storchaka Dependencies bpo-20270: urllib.parse doesn't work with empty portbpo-20271: urllib.parse.urlparse() accepts wrong URLs Fi...
X Description: BPO 18191 Nosy @vstinner, @dhellmann, @jd, @berkerpeksag, @serhiy-storchaka Dependencies bpo-20270: urllib.parse doesn't work with empty portbpo-20271: urllib.parse.urlparse() accepts wrong URL...
Opengraph URL: https://github.com/python/cpython/issues/62391
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"urllib2/urllib.parse.splitport does not handle IPv6 correctly","articleBody":"BPO | [18191](https://bugs.python.org/issue18191)\n--- | :---\nNosy | @vstinner, @dhellmann, @jd, @berkerpeksag, @serhiy-storchaka\nDependencies | \u003cli\u003ebpo-20270: urllib.parse doesn\u0026#x27;t work with empty port\u003c/li\u003e\u003cli\u003ebpo-20271: urllib.parse.urlparse() accepts wrong URLs\u003c/li\u003e\nFiles | \u003cli\u003e[0001-Make-urllib.parse.splitport-handle-IPv6-correctly.patch](https://bugs.python.org/file30558/0001-Make-urllib.parse.splitport-handle-IPv6-correctly.patch \"Uploaded as text/plain at 2013-06-12.13:34:01 by @jd\"): Patch fixing urllib.parse.splitport\u003c/li\u003e\u003cli\u003e[test_urlparse.diff](https://bugs.python.org/file31013/test_urlparse.diff \"Uploaded as text/plain at 2013-07-22.16:54:44 by samwyse\"): Revised test for urlparse\u003c/li\u003e\u003cli\u003e[urllib.diff](https://bugs.python.org/file31015/urllib.diff \"Uploaded as text/plain at 2013-07-22.16:56:04 by samwyse\"): Revised urllib\u003c/li\u003e\n\n\u003csup\u003e*Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.*\u003c/sup\u003e\n\n\u003cdetails\u003e\u003csummary\u003eShow more details\u003c/summary\u003e\u003cp\u003e\n\nGitHub fields:\n```python\nassignee = None\nclosed_at = None\ncreated_at = \u003cDate 2013-06-11.14:44:39.479\u003e\nlabels = ['type-bug', 'library']\ntitle = 'urllib2/urllib.parse.splitport does not handle IPv6 correctly'\nupdated_at = \u003cDate 2014-03-07.16:23:13.722\u003e\nuser = 'https://github.com/jd'\n```\n\nbugs.python.org fields:\n```python\nactivity = \u003cDate 2014-03-07.16:23:13.722\u003e\nactor = 'vstinner'\nassignee = 'none'\nclosed = False\nclosed_date = None\ncloser = None\ncomponents = ['Library (Lib)']\ncreation = \u003cDate 2013-06-11.14:44:39.479\u003e\ncreator = 'jd'\ndependencies = ['20270', '20271']\nfiles = ['30558', '31013', '31015']\nhgrepos = []\nissue_num = 18191\nkeywords = ['patch']\nmessage_count = 9.0\nmessages = ['190968', '191027', '191040', '191041', '191042', '193546', '193548', '208157', '212891']\nnosy_count = 6.0\nnosy_names = ['vstinner', 'samwyse', 'doughellmann', 'jd', 'berker.peksag', 'serhiy.storchaka']\npr_nums = []\npriority = 'normal'\nresolution = None\nstage = None\nstatus = 'open'\nsuperseder = None\ntype = 'behavior'\nurl = 'https://bugs.python.org/issue18191'\nversions = ['Python 2.7', 'Python 3.3', 'Python 3.4']\n```\n\n\u003c/p\u003e\u003c/details\u003e\n","author":{"url":"https://github.com/jd","@type":"Person","name":"jd"},"datePublished":"2013-06-11T14:44:39.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":11},"url":"https://github.com/62391/cpython/issues/62391"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:6edcc846-76f6-9f5c-fd81-6d91d2be6886 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | E1C0:248D3C:EA6868:1381DFB:6A5CFCFF |
| html-safe-nonce | 162f946936d3f60374af66dd3330b0efc6cf63bc939a1f4a05df86e5f5dbdf03 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFMUMwOjI0OEQzQzpFQTY4Njg6MTM4MURGQjo2QTVDRkNGRiIsInZpc2l0b3JfaWQiOiIxMTU2OTIxNTgxMjMyNzgyNTkxIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 5c63de07ccffc3048cd968db8535dbdafa64e6d08d01ed6468f91b507688f540 |
| hovercard-subject-tag | issue:1198901541 |
| github-keyboard-shortcuts | repository,issues,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/_view_fragments/issues/show/python/cpython/62391/issue_layout |
| twitter:image | https://opengraph.githubassets.com/37f2b2c029312ba685d63d8f50aaa841bbc6cd53fbdc5a8906ae3d31b04a6bc9/python/cpython/issues/62391 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/37f2b2c029312ba685d63d8f50aaa841bbc6cd53fbdc5a8906ae3d31b04a6bc9/python/cpython/issues/62391 |
| og:image:alt | BPO 18191 Nosy @vstinner, @dhellmann, @jd, @berkerpeksag, @serhiy-storchaka Dependencies bpo-20270: urllib.parse doesn't work with empty portbpo-20271: urllib.parse.urlparse() accepts wrong URLs Fi... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | jd |
| hostname | github.com |
| expected-hostname | github.com |
| None | 5290d7e14309ad1e76106a9c4237bd1041517e83ea182c8ab756752cb0c6940b |
| 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 |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 9c975978430e9ad293956f2bbdaf153b1bd84a99 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width