Title: URLs don't support fromText -> toURI with URLs containing IPv6 literals · Issue #68 · python-hyper/hyperlink · GitHub
Open Graph Title: URLs don't support fromText -> toURI with URLs containing IPv6 literals · Issue #68 · python-hyper/hyperlink
X Title: URLs don't support fromText -> toURI with URLs containing IPv6 literals · Issue #68 · python-hyper/hyperlink
Description: >>> URL.fromText(u"http://[3fff::1]/foo").asURI().asText() Traceback (most recent call last): File "
Open Graph Description: >>> URL.fromText(u"http://[3fff::1]/foo").asURI().asText() Traceback (most recent call last): File "
X Description: >>> URL.fromText(u"http://[3fff::1]/foo").asURI().asText() Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/home/hawkowl/v...
Opengraph URL: https://github.com/python-hyper/hyperlink/issues/68
X: @github
Domain: github.com
IPv4 address: 140.82.114.4
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"URLs don't support fromText -> toURI with URLs containing IPv6 literals","articleBody":"```\r\n>>> URL.fromText(u\"http://[3fff::1]/foo\").asURI().asText()\r\nTraceback (most recent call last):\r\n File \"\u003cstdin>\", line 1, in \u003cmodule>\r\n File \"/home/hawkowl/venvs/commands/lib/python2.7/site-packages/hyperlink/_url.py\", line 1338, in to_uri\r\n new_host = self.host if not self.host else idna_encode(self.host, uts46=True).decode(\"ascii\")\r\n File \"/home/hawkowl/venvs/commands/lib/python2.7/site-packages/idna/core.py\", line 340, in encode\r\n s = uts46_remap(s, std3_rules, transitional)\r\n File \"/home/hawkowl/venvs/commands/lib/python2.7/site-packages/idna/core.py\", line 332, in uts46_remap\r\n _unot(code_point), pos + 1, repr(domain)))\r\nidna.core.InvalidCodepoint: Codepoint U+003A not allowed at position 5 in u'3fff::1'\r\n```","author":{"url":"https://github.com/hawkowl","@type":"Person","name":"hawkowl"},"datePublished":"2018-12-05T14:06:27Z","url":"https://github.com/python-hyper/hyperlink/issues/68"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| 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:3b40f68e-5173-3d0e-1b47-a93d6e561bca |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | A870:1725D9:1CB041E:27EB50B:6B06E8A0 |
| html-safe-nonce | 494db227b853e8c6f200cf0d6efd476c0f450d81d7d2727a1278fccb90837334 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBODcwOjE3MjVEOToxQ0IwNDFFOjI3RUI1MEI6NkIwNkU4QTAiLCJ2aXNpdG9yX2lkIjoiOTExNDkxMzU3NDU3NjY0NjMwNCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 64cadcd5eff1f0ae23586e491f773b810fbf344beacb5426c2f0d6a97901999b |
| hovercard-subject-tag | issue:387772328 |
| 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-hyper/hyperlink/68/issue_layout |
| twitter:image | https://opengraph.githubassets.com/be1b039f79458ca035f43e74739277ef252248bf6747702bdef2a6b10464fa4d/python-hyper/hyperlink/issues/68 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/be1b039f79458ca035f43e74739277ef252248bf6747702bdef2a6b10464fa4d/python-hyper/hyperlink/issues/68 |
| og:image:alt | >>> URL.fromText(u"http://[3fff::1]/foo").asURI().asText() Traceback (most recent call last): File " |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | hawkowl |
| hostname | github.com |
| expected-hostname | github.com |
| None | 351ea5ca38a5758919d44ee52c70fe9003c0c2dfa20f04effd7fac0c5330c16b |
| turbo-cache-control | no-preview |
| go-import | github.com/python-hyper/hyperlink git https://github.com/python-hyper/hyperlink.git |
| octolytics-dimension-user_id | 13035907 |
| octolytics-dimension-user_login | python-hyper |
| octolytics-dimension-repository_id | 82321340 |
| octolytics-dimension-repository_nwo | python-hyper/hyperlink |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 82321340 |
| octolytics-dimension-repository_network_root_nwo | python-hyper/hyperlink |
| 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 | af8913cd0f2f77c41796be449ac66a9108825abc |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
| Server | github.com |
| Content-Type | text/html; charset=utf-8 |
| Cache-Control | max-age=0, private, must-revalidate |
Viewport: width=device-width