Skip to content

Commit 97b819c

Browse files
committed
url(git[RE_PATH]): Reject @ symbols
1 parent 95d27a8 commit 97b819c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libvcs/url/git.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
from .constants import RE_PIP_REV, RE_SCP, RE_USER
2727

2828
RE_PATH = r"""
29-
(?P<hostname>([^/:]+))
29+
(?P<hostname>([^/:@]+))
3030
(:(?P<port>\d{1,5}))?
3131
(?P<separator>[:,/])?
3232
(?P<path>

0 commit comments

Comments
 (0)