Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Merge pull request #7 from achengs/master
Don't replace slashes in git URLs. Fixes JENKINS-13243
  • Loading branch information
mambu committed May 16, 2013
2 parents 3c8ade8 + 8b564d1 commit 3ac09e1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/hudson/plugins/xshell/XShellBuilder.java
Expand Up @@ -116,7 +116,7 @@ public static String convertSeparator(String cmdLine, String newSeparator) {
String replacement = Matcher.quoteReplacement(newSeparator);

Pattern words = Pattern.compile("\\S+");
Pattern urls = Pattern.compile("(https*|ftp):");
Pattern urls = Pattern.compile("(https*|ftp|git):");
StringBuffer sb = new StringBuffer();
Matcher m = words.matcher(cmdLine);
while (m.find()) {
Expand Down

0 comments on commit 3ac09e1

Please sign in to comment.