Title: Decode percent-encoding in mixed text · Issue #58 · python-hyper/hyperlink · GitHub
Open Graph Title: Decode percent-encoding in mixed text · Issue #58 · python-hyper/hyperlink
X Title: Decode percent-encoding in mixed text · Issue #58 · python-hyper/hyperlink
Description: Right now, _url._percent_decode() has a fast and silent path with some surprising results. You can pass in text with percent encoding present, and get that text back out, unmodified, if there are any non-ASCII characters present. >>> _pe...
Open Graph Description: Right now, _url._percent_decode() has a fast and silent path with some surprising results. You can pass in text with percent encoding present, and get that text back out, unmodified, if there are a...
X Description: Right now, _url._percent_decode() has a fast and silent path with some surprising results. You can pass in text with percent encoding present, and get that text back out, unmodified, if there are a...
Opengraph URL: https://github.com/python-hyper/hyperlink/issues/58
X: @github
Domain: github.com
IPv4 address: 140.82.114.4
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Decode percent-encoding in mixed text","articleBody":"Right now, `_url._percent_decode()` has a fast and silent path with some surprising results. You can pass in text with percent encoding present, and get that text back out, unmodified, if there are any non-ASCII characters present.\r\n\r\n```python\r\n>>> _percent_decode(u'é%3Dmc^2')\r\nu'é%3Dmc^2'\r\n```\r\n\r\nThis poses an obvious problem to decoding IRI values containing reserved characters, as is the case for DecodedURL. #54 worked around this by re-percent-encoding everything before percent decoding it. Aside from being a bit hacky, there are more efficient ways of approaching this.","author":{"url":"https://github.com/mahmoud","@type":"Person","name":"mahmoud"},"datePublished":"2018-01-11T02:47:39Z","url":"https://github.com/python-hyper/hyperlink/issues/58"}
| 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:497b7c9b-c413-d4fc-dec0-fbfab0359050 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | AB9A:1F59:226CD92:2E72CAC:6B06F135 |
| html-safe-nonce | c46d79f4084d4cf38db60d7d37f5bf9f59e906e8b06eebec8dbbfca665d90fbf |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBQjlBOjFGNTk6MjI2Q0Q5MjoyRTcyQ0FDOjZCMDZGMTM1IiwidmlzaXRvcl9pZCI6Ijc3NjY1MzU3NDA0ODU3MjY1MTciLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | df137497922ec50497b32c823e1b34c2218db0f75d21ebd411a2c18b583eb3f3 |
| hovercard-subject-tag | issue:287646347 |
| 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/58/issue_layout |
| twitter:image | https://opengraph.githubassets.com/af40e9bdc62090e69c3a99a4908bab84c1126d4379e15afefb7d9681bc256258/python-hyper/hyperlink/issues/58 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/af40e9bdc62090e69c3a99a4908bab84c1126d4379e15afefb7d9681bc256258/python-hyper/hyperlink/issues/58 |
| og:image:alt | Right now, _url._percent_decode() has a fast and silent path with some surprising results. You can pass in text with percent encoding present, and get that text back out, unmodified, if there are a... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | mahmoud |
| 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 | 891bde3f438884e9c6c7ccd826f33805910a978b |
| 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