Title: More robust error checking in URL parsing · Issue #17 · love2d/lua-https · GitHub
Open Graph Title: More robust error checking in URL parsing · Issue #17 · love2d/lua-https
X Title: More robust error checking in URL parsing · Issue #17 · love2d/lua-https
Description: The URL parsing code (HTTPRequest::parseUrl) works for valid URLs but can have confusing errors (or maybe even nonexistent ones sometimes) for invalid URLs. For example https:\\example.com might throw an exception related to stoi trying ...
Open Graph Description: The URL parsing code (HTTPRequest::parseUrl) works for valid URLs but can have confusing errors (or maybe even nonexistent ones sometimes) for invalid URLs. For example https:\\example.com might th...
X Description: The URL parsing code (HTTPRequest::parseUrl) works for valid URLs but can have confusing errors (or maybe even nonexistent ones sometimes) for invalid URLs. For example https:\\example.com might th...
Opengraph URL: https://github.com/love2d/lua-https/issues/17
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"More robust error checking in URL parsing","articleBody":"The URL parsing code (`HTTPRequest::parseUrl`) works for valid URLs but can have confusing errors (or maybe even nonexistent ones sometimes) for invalid URLs. For example `https:\\\\example.com` might throw an exception related to `stoi` trying to parse a non-integer character, instead of saying something about the schema not being valid.","author":{"url":"https://github.com/slime73","@type":"Person","name":"slime73"},"datePublished":"2023-04-25T21:51:53.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/17/lua-https/issues/17"}
| 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:bca8c529-3c3f-644c-4aa0-b47aac8cd446 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | A300:20AD09:130B2DF:1A75D82:6A4CAB41 |
| html-safe-nonce | 9b1da97120b7dcb6c156c2bd92feb473e4c25445d832211c0b9c920eed0a0f3c |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBMzAwOjIwQUQwOToxMzBCMkRGOjFBNzVEODI6NkE0Q0FCNDEiLCJ2aXNpdG9yX2lkIjoiODQ5MTMyOTAyMDkwOTg5MDM2OSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | f73d3356457843ed03063821312fd5325eb31bd72559103b4a1daeda666ce93b |
| hovercard-subject-tag | issue:1683926932 |
| 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/love2d/lua-https/17/issue_layout |
| twitter:image | https://opengraph.githubassets.com/3111129048551297e3be8f73722f8b1a5980dfce848dd7d9a0a15efdb02126bc/love2d/lua-https/issues/17 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/3111129048551297e3be8f73722f8b1a5980dfce848dd7d9a0a15efdb02126bc/love2d/lua-https/issues/17 |
| og:image:alt | The URL parsing code (HTTPRequest::parseUrl) works for valid URLs but can have confusing errors (or maybe even nonexistent ones sometimes) for invalid URLs. For example https:\\example.com might th... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | slime73 |
| hostname | github.com |
| expected-hostname | github.com |
| None | 3d11bb817438277de2a940854450e83a7d32b6aeb5014e9e6b00a6423900251c |
| turbo-cache-control | no-preview |
| go-import | github.com/love2d/lua-https git https://github.com/love2d/lua-https.git |
| octolytics-dimension-user_id | 283107 |
| octolytics-dimension-user_login | love2d |
| octolytics-dimension-repository_id | 435158752 |
| octolytics-dimension-repository_nwo | love2d/lua-https |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 435158752 |
| octolytics-dimension-repository_network_root_nwo | love2d/lua-https |
| 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 | ae90d426644ca15e89bacceb72e51f4e9dbf85f7 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width