You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@drat.apache.org by ma...@apache.org on 2017/10/24 16:24:03 UTC

[drat] branch master updated: - for for #99 allow https:// GH and SVN urls as well

This is an automated email from the ASF dual-hosted git repository.

mattmann pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/drat.git


The following commit(s) were added to refs/heads/master by this push:
     new d53b0a1  - for for #99 allow https:// GH and SVN urls as well
d53b0a1 is described below

commit d53b0a1bd5e8ae06beb7cfb67de91a949c0feed5
Author: Chris Mattmann <ch...@jpl.nasa.gov>
AuthorDate: Tue Oct 24 09:23:57 2017 -0700

    - for for #99 allow https:// GH and SVN urls as well
---
 proteus/src/main/java/drat/proteus/DratStartForm.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/proteus/src/main/java/drat/proteus/DratStartForm.java b/proteus/src/main/java/drat/proteus/DratStartForm.java
index a1ce92e..d72254e 100644
--- a/proteus/src/main/java/drat/proteus/DratStartForm.java
+++ b/proteus/src/main/java/drat/proteus/DratStartForm.java
@@ -123,7 +123,7 @@ public class DratStartForm extends Form {
           }
         }
 
-        if (pathValue.startsWith("http://")) {
+        if (pathValue.startsWith("http://") || pathValue.startsWith("https://")) {
           String clonePath = parseAsVersionControlledRepo(pathValue, command);
           if (!downloadPhase) {
             startDrat(pathValue, command);

-- 
To stop receiving notification emails like this one, please contact
['"commits@drat.apache.org" <co...@drat.apache.org>'].