We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 25fcef0 commit d6241fcCopy full SHA for d6241fc
src/validators/uri.py
@@ -68,7 +68,7 @@ def uri(value: str, /):
68
69
# email
70
if value.startswith("mailto:"):
71
- return email(value.lstrip("mailto:"))
+ return email(value[len("mailto:"):])
72
73
# file
74
if value.startswith("file:"):
0 commit comments