cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dk...@apache.org
Subject cxf git commit: [CXF-6111] When deployed as a war, make sure the ?js works
Date Fri, 09 Jan 2015 20:08:57 GMT
Repository: cxf
Updated Branches:
  refs/heads/3.0.x-fixes 09346fdf8 -> 45cfc3e70


[CXF-6111] When deployed as a war, make sure the ?js works


Project: http://git-wip-us.apache.org/repos/asf/cxf/repo
Commit: http://git-wip-us.apache.org/repos/asf/cxf/commit/45cfc3e7
Tree: http://git-wip-us.apache.org/repos/asf/cxf/tree/45cfc3e7
Diff: http://git-wip-us.apache.org/repos/asf/cxf/diff/45cfc3e7

Branch: refs/heads/3.0.x-fixes
Commit: 45cfc3e7099eefe2c21a5c980e330d687283f945
Parents: 09346fd
Author: Daniel Kulp <dkulp@apache.org>
Authored: Fri Jan 9 15:04:33 2015 -0500
Committer: Daniel Kulp <dkulp@apache.org>
Committed: Fri Jan 9 15:08:48 2015 -0500

----------------------------------------------------------------------
 .../java/org/apache/cxf/javascript/JavascriptGetInterceptor.java   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cxf/blob/45cfc3e7/rt/javascript/javascript-rt/src/main/java/org/apache/cxf/javascript/JavascriptGetInterceptor.java
----------------------------------------------------------------------
diff --git a/rt/javascript/javascript-rt/src/main/java/org/apache/cxf/javascript/JavascriptGetInterceptor.java
b/rt/javascript/javascript-rt/src/main/java/org/apache/cxf/javascript/JavascriptGetInterceptor.java
index 3e78c45..a4aa43b 100644
--- a/rt/javascript/javascript-rt/src/main/java/org/apache/cxf/javascript/JavascriptGetInterceptor.java
+++ b/rt/javascript/javascript-rt/src/main/java/org/apache/cxf/javascript/JavascriptGetInterceptor.java
@@ -98,7 +98,7 @@ public class JavascriptGetInterceptor extends AbstractPhaseInterceptor<Message>
             return false;
         }
         if (map.containsKey(CODE_QUERY_KEY)) {
-            return endpointInfo.getAddress().contains(UrlUtils.getStem(uri.getSchemeSpecificPart()));
+            return true;
         }
         return false;
     }


Mime
View raw message