cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From serg...@apache.org
Subject cxf git commit: [CXF-6606] Avoiding double decoding when procesing extension or language maps, patch from Tyler Brazier applied, This closes #91
Date Fri, 25 Sep 2015 09:32:12 GMT
Repository: cxf
Updated Branches:
  refs/heads/2.7.x-fixes c17cde96a -> 1af2f1768


[CXF-6606] Avoiding double decoding when procesing extension or language maps, patch from
Tyler Brazier applied, This closes #91


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

Branch: refs/heads/2.7.x-fixes
Commit: 1af2f1768480908d5726fb7372ed091524e991c3
Parents: c17cde9
Author: Sergey Beryozkin <sberyozkin@gmail.com>
Authored: Fri Sep 25 10:27:51 2015 +0100
Committer: Sergey Beryozkin <sberyozkin@gmail.com>
Committed: Fri Sep 25 10:31:51 2015 +0100

----------------------------------------------------------------------
 .../main/java/org/apache/cxf/jaxrs/impl/RequestPreprocessor.java | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cxf/blob/1af2f176/rt/frontend/jaxrs/src/main/java/org/apache/cxf/jaxrs/impl/RequestPreprocessor.java
----------------------------------------------------------------------
diff --git a/rt/frontend/jaxrs/src/main/java/org/apache/cxf/jaxrs/impl/RequestPreprocessor.java
b/rt/frontend/jaxrs/src/main/java/org/apache/cxf/jaxrs/impl/RequestPreprocessor.java
index c5de097..5bd8305 100644
--- a/rt/frontend/jaxrs/src/main/java/org/apache/cxf/jaxrs/impl/RequestPreprocessor.java
+++ b/rt/frontend/jaxrs/src/main/java/org/apache/cxf/jaxrs/impl/RequestPreprocessor.java
@@ -92,7 +92,7 @@ public class RequestPreprocessor {
         if (languageMappings.isEmpty()) {
             return;
         }
-        PathSegmentImpl ps = new PathSegmentImpl(uriInfo.getPath(false));
+        PathSegmentImpl ps = new PathSegmentImpl(uriInfo.getPath(false), false);
         String path = ps.getPath();
         for (Map.Entry<?, ?> entry : languageMappings.entrySet()) {
             if (path.endsWith("." + entry.getKey())) {
@@ -107,7 +107,7 @@ public class RequestPreprocessor {
         if (extensionMappings.isEmpty()) {
             return;
         }
-        PathSegmentImpl ps = new PathSegmentImpl(uriInfo.getPath(false));
+        PathSegmentImpl ps = new PathSegmentImpl(uriInfo.getPath(false), false);
         String path = ps.getPath();
         for (Map.Entry<?, ?> entry : extensionMappings.entrySet()) {
             String key = entry.getKey().toString();


Mime
View raw message