Title: Applying `to_iri` on two `URL`s can make change the equality of URLs. · Issue #168 · python-hyper/hyperlink · GitHub
Open Graph Title: Applying `to_iri` on two `URL`s can make change the equality of URLs. · Issue #168 · python-hyper/hyperlink
X Title: Applying `to_iri` on two `URL`s can make change the equality of URLs. · Issue #168 · python-hyper/hyperlink
Description: from hyperlink import URL url1 = URL.from_text(u"http://example.test./,") url2 = URL.from_text(u"http://example.test./,") assert url1 != url2 assert url1.to_iri() == url2.to_iri() It seems surprising to me that to_iri() provides a leve...
Open Graph Description: from hyperlink import URL url1 = URL.from_text(u"http://example.test./,") url2 = URL.from_text(u"http://example.test./,") assert url1 != url2 assert url1.to_iri() == url2.to_iri() It seems surpri...
X Description: from hyperlink import URL url1 = URL.from_text(u"http://example.test./,") url2 = URL.from_text(u"http://example.test./,") assert url1 != url2 assert url1.to_iri() == url2.to_i...
Opengraph URL: https://github.com/python-hyper/hyperlink/issues/168
X: @github
Domain: github.com
IPv4 address: 140.82.114.3
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Applying `to_iri` on two `URL`s can make change the equality of URLs.","articleBody":"```python\r\nfrom hyperlink import URL\r\nurl1 = URL.from_text(u\"http://example.test./,\")\r\nurl2 = URL.from_text(u\"http://example.test./%2c\")\r\nassert url1 != url2\r\nassert url1.to_iri() == url2.to_iri()\r\n```\r\nIt seems surprising to me that `to_iri()` provides a level of normalization that is not available via `.normalize()`\r\n\r\nThis seems related to #18 and #164.","author":{"url":"https://github.com/tomprince","@type":"Person","name":"tomprince"},"datePublished":"2021-06-10T19:12:30Z","url":"https://github.com/python-hyper/hyperlink/issues/168"}
| 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:f3c95c0f-1eeb-4bf3-a635-7ba0dc5900aa |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 827C:140253:B8F84E:1038722:6B06E7AE |
| html-safe-nonce | 8793b42bfdea1e8ea6e589d1fae6e883a5d97008e5250010eb67587562771e00 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4MjdDOjE0MDI1MzpCOEY4NEU6MTAzODcyMjo2QjA2RTdBRSIsInZpc2l0b3JfaWQiOiI2ODQ5Mzc5OTg4NzgyMTE0NzM0IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 8f7496b2995f1c80f62c1d983f2de54e39718fbc872207f7b8578fb7ef7c69c3 |
| hovercard-subject-tag | issue:917749632 |
| 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/168/issue_layout |
| twitter:image | https://opengraph.githubassets.com/6715560eb92410bf8399a907a9791a11af9a05f4711b2fc8ec7f370fdfae3145/python-hyper/hyperlink/issues/168 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/6715560eb92410bf8399a907a9791a11af9a05f4711b2fc8ec7f370fdfae3145/python-hyper/hyperlink/issues/168 |
| og:image:alt | from hyperlink import URL url1 = URL.from_text(u"http://example.test./,") url2 = URL.from_text(u"http://example.test./,") assert url1 != url2 assert url1.to_iri() == url2.to_iri() It seems surpri... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | tomprince |
| 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