Skip to content

Commit

Permalink
Merge pull request ocaml#3212 from OCamlPro/fix-rwr-ssh-url
Browse files Browse the repository at this point in the history
Fix handling of addresses in the form 'name@host:/foo'
  • Loading branch information
AltGr committed Feb 6, 2018
2 parents 335a8cd + be299dc commit c3a21d0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/core/opamUrl.ml
Expand Up @@ -88,6 +88,7 @@ let looks_like_ssh_path =
Re.(compile @@ seq [
group @@ repn (diff any (set "/:")) 2 None;
char ':';
opt @@ char '/';
opt @@ group @@ seq [
alt [
diff any digit;
Expand Down

0 comments on commit c3a21d0

Please sign in to comment.