Title: Fixes error with international URLs that have more than 2 hyphens by automationator · Pull Request #184 · python-validators/validators · GitHub
Open Graph Title: Fixes error with international URLs that have more than 2 hyphens by automationator · Pull Request #184 · python-validators/validators
X Title: Fixes error with international URLs that have more than 2 hyphens by automationator · Pull Request #184 · python-validators/validators
Description: Previously, a URL like http://xn----gtbybh.xn--p1ai/1/asdf would fail validation since the regex only allowed for 2 hyphens after the "xn". However, certain encodings allow for up to 4 of them. This PR fixes that issue.
Open Graph Description: Previously, a URL like http://xn----gtbybh.xn--p1ai/1/asdf would fail validation since the regex only allowed for 2 hyphens after the "xn". However, certain encodings allow for up to 4 of...
X Description: Previously, a URL like http://xn----gtbybh.xn--p1ai/1/asdf would fail validation since the regex only allowed for 2 hyphens after the "xn". However, certain encodings allow for up...
Opengraph URL: https://github.com/python-validators/validators/pull/184
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:e00aacc6-2da2-8a0d-0403-f67ff441b297 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | E106:1BF7F4:896A96:B1C565:698FBB0F |
| html-safe-nonce | 54908633772ffed31a32f57406a0c1e1ea9757c20b07905b2c71cb21f8fa7f54 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFMTA2OjFCRjdGNDo4OTZBOTY6QjFDNTY1OjY5OEZCQjBGIiwidmlzaXRvcl9pZCI6Ijg0NzcxNjAzNjQ5MjkwMTEzNSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 57c9fe8539441f54a052ba61012e6fd6f5c2a333e8d18bfccdf37bc513ed273f |
| hovercard-subject-tag | pull_request:546975103 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,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/python-validators/validators/pull/184/files |
| twitter:image | https://avatars.githubusercontent.com/u/22526682?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/22526682?s=400&v=4 |
| og:image:alt | Previously, a URL like http://xn----gtbybh.xn--p1ai/1/asdf would fail validation since the regex only allowed for 2 hyphens after the "xn". However, certain encodings allow for up to 4 of... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 42c603b9d642c4a9065a51770f75e5e27132fef0e858607f5c9cb7e422831a7b |
| turbo-cache-control | no-preview |
| diff-view | unified |
| 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 full-width |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 4084c47bba08e7ba5fab63cb1dd485a339910ed7 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width