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 da45d42 commit 35e6a69Copy full SHA for 35e6a69
src/validators/uri.py
@@ -58,7 +58,7 @@ def uri(value: str, /):
58
59
# email
60
if value.startswith("mailto:"):
61
- return email(value.lstrip("mailto:"))
+ return email(value[len("mailto:"):])
62
63
# file
64
if value.startswith("file:"):
0 commit comments