feat: add extra schemes to url validation by humbertogontijo · Pull Request #396 · python-validators/validators
Hi @humbertogontijo, thanks for the PR. Such URLs bAdScHeMa://github.com will be validated if extra_schemes = {'bAdScHeMa',}.
Say a library user provides a domain name, which now suppose is validated against itself, wouldn't that defeat the purpose of domain validation? I think so.
We do plan to support more schemas, see #388.
validators.url method already has a lot of parameters, wouldn't adding more, clutter it? WDYT?