deltaspike-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tandrasc...@apache.org
Subject git commit: DELTASPIKE-629 Initial redirect fails behind proxy/fw/apache redirects
Date Tue, 10 Jun 2014 21:13:29 GMT
Repository: deltaspike
Updated Branches:
  refs/heads/master 82fe52d6a -> 16f247c73


DELTASPIKE-629 Initial redirect fails behind proxy/fw/apache redirects

Project: http://git-wip-us.apache.org/repos/asf/deltaspike/repo
Commit: http://git-wip-us.apache.org/repos/asf/deltaspike/commit/16f247c7
Tree: http://git-wip-us.apache.org/repos/asf/deltaspike/tree/16f247c7
Diff: http://git-wip-us.apache.org/repos/asf/deltaspike/diff/16f247c7

Branch: refs/heads/master
Commit: 16f247c73939efef2dc6530030cff32b41bbb30f
Parents: 82fe52d
Author: tandraschko <tandraschko@apache.org>
Authored: Tue Jun 10 23:12:22 2014 +0200
Committer: tandraschko <tandraschko@apache.org>
Committed: Tue Jun 10 23:13:10 2014 +0200

----------------------------------------------------------------------
 .../apache/deltaspike/jsf/impl/util/ClientWindowHelper.java   | 7 ++-----
 1 file changed, 2 insertions(+), 5 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/deltaspike/blob/16f247c7/deltaspike/modules/jsf/impl/src/main/java/org/apache/deltaspike/jsf/impl/util/ClientWindowHelper.java
----------------------------------------------------------------------
diff --git a/deltaspike/modules/jsf/impl/src/main/java/org/apache/deltaspike/jsf/impl/util/ClientWindowHelper.java
b/deltaspike/modules/jsf/impl/src/main/java/org/apache/deltaspike/jsf/impl/util/ClientWindowHelper.java
index 0f5bb08..40b948b 100644
--- a/deltaspike/modules/jsf/impl/src/main/java/org/apache/deltaspike/jsf/impl/util/ClientWindowHelper.java
+++ b/deltaspike/modules/jsf/impl/src/main/java/org/apache/deltaspike/jsf/impl/util/ClientWindowHelper.java
@@ -47,17 +47,14 @@ public abstract class ClientWindowHelper
 
         ExternalContext externalContext = facesContext.getExternalContext();
 
-        String url = externalContext.getRequestScheme()
-                + "://" + externalContext.getRequestServerName()
-                + ":" + externalContext.getRequestServerPort()
-                + externalContext.getRequestContextPath()
+        String url = externalContext.getRequestContextPath()
                 + externalContext.getRequestServletPath();
 
         if (externalContext.getRequestPathInfo() != null)
         {
             url += externalContext.getRequestPathInfo();
         }
-        
+  
         url = JsfUtils.addRequestParameters(externalContext, url, true);
         
         try


Mime
View raw message