Title: feat: allow custom URL scheme validation by e3krisztian · Pull Request #409 · python-validators/validators · GitHub
Open Graph Title: feat: allow custom URL scheme validation by e3krisztian · Pull Request #409 · python-validators/validators
X Title: feat: allow custom URL scheme validation by e3krisztian · Pull Request #409 · python-validators/validators
Description: Enhances validators.url to allow restricting the allowed schemes (e.g. to accept only https, and nothing else) relaxing the allowed schemes to also accept less known schemes (e.g. ws, wss, ldap, ...) This backward compatible change let's library users resolve the problematic cases requested/discussed in #352 #388
Open Graph Description: Enhances validators.url to allow restricting the allowed schemes (e.g. to accept only https, and nothing else) relaxing the allowed schemes to also accept less known schemes (e.g. ws, wss, ldap, ....
X Description: Enhances validators.url to allow restricting the allowed schemes (e.g. to accept only https, and nothing else) relaxing the allowed schemes to also accept less known schemes (e.g. ws, wss, ldap, ....
Opengraph URL: https://github.com/python-validators/validators/pull/409
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:f4242260-5df5-b223-c2bb-e1f94713e690 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | C9D8:4D567:4E86F7:683CB5:698E5A36 |
| html-safe-nonce | d6c873227a8dbb28004b48eeafcdeab4b18ddd9fbe3e7a9a34866c12e2157b8b |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDOUQ4OjRENTY3OjRFODZGNzo2ODNDQjU6Njk4RTVBMzYiLCJ2aXNpdG9yX2lkIjoiMTEwMjAyNDUyMDQyMjU0NTk3NCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 8e2fcf54efa8ec0e8da35b4df5eedef4040a9ee37a6c4391c987888bb54830b0 |
| hovercard-subject-tag | pull_request:2151967457 |
| 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/409/files |
| twitter:image | https://avatars.githubusercontent.com/u/1246751?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/1246751?s=400&v=4 |
| og:image:alt | Enhances validators.url to allow restricting the allowed schemes (e.g. to accept only https, and nothing else) relaxing the allowed schemes to also accept less known schemes (e.g. ws, wss, ldap, .... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 0e08b85f0035d49bc4c22868f70a4d30fb8c2a777936895c37e78df095242ddc |
| 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 |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 9416d07f3607b074b276ccc81546278f89608a08 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width