diff options
author | Mike Gilbode <gilbode@gmail.com> | 2015-12-15 01:59:00 -0500 |
---|---|---|
committer | Mike Gilbode <gilbode@gmail.com> | 2015-12-15 10:44:16 -0500 |
commit | 3e03907f650a5e1e6f8714ed09ee074f9d202540 (patch) | |
tree | 42de452fec2843d4e831adccd65b415244fe4fee /org.eclipse.jgit | |
parent | 5b55498b16267102b021a47b3a7c0bdbfae63e71 (diff) | |
download | jgit-3e03907f650a5e1e6f8714ed09ee074f9d202540.tar.gz jgit-3e03907f650a5e1e6f8714ed09ee074f9d202540.zip |
Bug 484342: Support @ in username in SSH url.
Change-Id: I5795e925afff796488ba26c83694e806b76a374f
Signed-off-by: Mike Gilbode <gilbode@gmail.com>
Diffstat (limited to 'org.eclipse.jgit')
-rw-r--r-- | org.eclipse.jgit/src/org/eclipse/jgit/transport/URIish.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/org.eclipse.jgit/src/org/eclipse/jgit/transport/URIish.java b/org.eclipse.jgit/src/org/eclipse/jgit/transport/URIish.java index 9aeb840ebe..5ce39c2e03 100644 --- a/org.eclipse.jgit/src/org/eclipse/jgit/transport/URIish.java +++ b/org.eclipse.jgit/src/org/eclipse/jgit/transport/URIish.java @@ -83,7 +83,7 @@ public class URIish implements Serializable { * capturing groups: the first containing the user and the second containing * the password */ - private static final String OPT_USER_PWD_P = "(?:([^/:@]+)(?::([^\\\\/]+))?@)?"; //$NON-NLS-1$ + private static final String OPT_USER_PWD_P = "(?:([^/:]+)(?::([^\\\\/]+))?@)?"; //$NON-NLS-1$ /** * Part of a pattern which matches the host part of URIs. Defines one |