Repository: incubator-stratos
Updated Branches:
  refs/heads/master 237c0bb28 -> 9ae460179


STRATOS-459

Signed-off-by: Manula Thantriwatte <[email protected]>


Project: http://git-wip-us.apache.org/repos/asf/incubator-stratos/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-stratos/commit/9ae46017
Tree: http://git-wip-us.apache.org/repos/asf/incubator-stratos/tree/9ae46017
Diff: http://git-wip-us.apache.org/repos/asf/incubator-stratos/diff/9ae46017

Branch: refs/heads/master
Commit: 9ae4601794ef39635b909368898cae1f31426b72
Parents: 237c0bb
Author: Melan Nimesh <[email protected]>
Authored: Mon Feb 17 22:28:14 2014 +0530
Committer: Manula Thantriwatte <[email protected]>
Committed: Tue Feb 18 10:10:14 2014 +0530

----------------------------------------------------------------------
 .../src/main/java/org/apache/stratos/cli/StratosApplication.java   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/9ae46017/components/org.apache.stratos.cli/src/main/java/org/apache/stratos/cli/StratosApplication.java
----------------------------------------------------------------------
diff --git 
a/components/org.apache.stratos.cli/src/main/java/org/apache/stratos/cli/StratosApplication.java
 
b/components/org.apache.stratos.cli/src/main/java/org/apache/stratos/cli/StratosApplication.java
index b13eff3..e9a5674 100644
--- 
a/components/org.apache.stratos.cli/src/main/java/org/apache/stratos/cli/StratosApplication.java
+++ 
b/components/org.apache.stratos.cli/src/main/java/org/apache/stratos/cli/StratosApplication.java
@@ -455,7 +455,7 @@ public class StratosApplication extends 
CommandLineApplication<StratosCommandCon
                        if (logger.isDebugEnabled()) {
                                logger.debug("Required configuration found. 
Validating {}", stratosURL);
                        }
-                       UrlValidator urlValidator = new UrlValidator(new 
String[] { "https" });
+                       UrlValidator urlValidator = new UrlValidator(new 
String[] { "https" },UrlValidator.ALLOW_LOCAL_URLS);
                        if (!urlValidator.isValid(stratosURL)) {
                                if (logger.isDebugEnabled()) {
                                        logger.debug("Stratos Controller URL {} 
is not valid", stratosURL);

Reply via email to