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:05:08 GMT
Repository: cxf
Updated Branches:
  refs/heads/master eb82c4c12 -> a60f73939


[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/a60f7393
Tree: http://git-wip-us.apache.org/repos/asf/cxf/tree/a60f7393
Diff: http://git-wip-us.apache.org/repos/asf/cxf/diff/a60f7393

Branch: refs/heads/master
Commit: a60f739395828fc7d0fb3e3a37ed8976bcc2731c
Parents: eb82c4c
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:04:33 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/a60f7393/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