Title: Valid URLs detected as invalid · Issue #87 · python-validators/validators · GitHub
Open Graph Title: Valid URLs detected as invalid · Issue #87 · python-validators/validators
X Title: Valid URLs detected as invalid · Issue #87 · python-validators/validators
Description: These two URLs should be valid, but validators doesn't like the double hyphen -- and it doesn't like the domain name xn--p1ai neither. >>> validators.url("http://pharma--partners.com/bfayz/shit.exe") ValidationFailure(func=url, args={'pu...
Open Graph Description: These two URLs should be valid, but validators doesn't like the double hyphen -- and it doesn't like the domain name xn--p1ai neither. >>> validators.url("http://pharma--partners.com/bfayz/shit.exe...
X Description: These two URLs should be valid, but validators doesn't like the double hyphen -- and it doesn't like the domain name xn--p1ai neither. >>> validators.url("http://pharma--partn...
Opengraph URL: https://github.com/python-validators/validators/issues/87
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Valid URLs detected as invalid","articleBody":"These two URLs should be valid, but validators doesn't like the double hyphen `--` and it doesn't like the domain name `xn--p1ai` neither.\r\n\r\n```\r\n\u003e\u003e\u003e validators.url(\"http://pharma--partners.com/bfayz/shit.exe\")\r\nValidationFailure(func=url, args={'public': False, 'value': 'http://pharma--partners.com/bfayz/shit.exe'})\r\n\u003e\u003e\u003e validators.url(\"http://xn--k1acdflk8dk.xn--p1ai/daa4wb/\")\r\nValidationFailure(func=url, args={'public': False, 'value': 'http://xn--k1acdflk8dk.xn--p1ai/daa4wb/'})\r\n\r\n```","author":{"url":"https://github.com/kdeltared","@type":"Person","name":"kdeltared"},"datePublished":"2018-06-13T14:56:29.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":1},"url":"https://github.com/87/validators/issues/87"}
| 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:28d35743-30e6-0375-b738-1b8d6f5d27f2 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | DCF8:16CF0C:10F21F5:17424B5:698F10DB |
| html-safe-nonce | e0c55d803be4f965e61fb612f84ed0504eda24b5ec4c5f303f2a47ef145d85eb |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEQ0Y4OjE2Q0YwQzoxMEYyMUY1OjE3NDI0QjU6Njk4RjEwREIiLCJ2aXNpdG9yX2lkIjoiNDczNTUxNDQwMjY5Nzk3Mzk3OSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 76ebae88e71157f529b031b80b032c3776f15d532937feeea4039bb90db1b6f2 |
| hovercard-subject-tag | issue:332033406 |
| 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-validators/validators/87/issue_layout |
| twitter:image | https://opengraph.githubassets.com/47204e5cef8475a7fd2ce5646532186b87aae16a6d80fc9c53d6e68c74a00334/python-validators/validators/issues/87 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/47204e5cef8475a7fd2ce5646532186b87aae16a6d80fc9c53d6e68c74a00334/python-validators/validators/issues/87 |
| og:image:alt | These two URLs should be valid, but validators doesn't like the double hyphen -- and it doesn't like the domain name xn--p1ai neither. >>> validators.url("http://pharma--partners.com/bfayz/shit.exe... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | kdeltared |
| hostname | github.com |
| expected-hostname | github.com |
| None | 2da1a0d1318592c9965539b12269c4641177dfabfc86c3807992efb13e1d96ff |
| turbo-cache-control | no-preview |
| go-import | github.com/python-validators/validators git https://github.com/python-validators/validators.git |
| octolytics-dimension-user_id | 113113270 |
| octolytics-dimension-user_login | python-validators |
| octolytics-dimension-repository_id | 13642984 |
| octolytics-dimension-repository_nwo | python-validators/validators |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 13642984 |
| octolytics-dimension-repository_network_root_nwo | python-validators/validators |
| 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 | d735bf238a2094bebd08cd3641a9ef4d1fe77e4b |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width