cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From serg...@apache.org
Subject svn commit: r1073107 - /cxf/trunk/rt/transports/http/src/main/java/org/apache/cxf/transport/servlet/AbstractHTTPServlet.java
Date Mon, 21 Feb 2011 18:32:29 GMT
Author: sergeyb
Date: Mon Feb 21 18:32:29 2011
New Revision: 1073107

URL: http://svn.apache.org/viewvc?rev=1073107&view=rev
Log:
Minor update to AbstractHTTPServlet for the redirection filter to report the request URI properly

Modified:
    cxf/trunk/rt/transports/http/src/main/java/org/apache/cxf/transport/servlet/AbstractHTTPServlet.java

Modified: cxf/trunk/rt/transports/http/src/main/java/org/apache/cxf/transport/servlet/AbstractHTTPServlet.java
URL: http://svn.apache.org/viewvc/cxf/trunk/rt/transports/http/src/main/java/org/apache/cxf/transport/servlet/AbstractHTTPServlet.java?rev=1073107&r1=1073106&r2=1073107&view=diff
==============================================================================
--- cxf/trunk/rt/transports/http/src/main/java/org/apache/cxf/transport/servlet/AbstractHTTPServlet.java
(original)
+++ cxf/trunk/rt/transports/http/src/main/java/org/apache/cxf/transport/servlet/AbstractHTTPServlet.java
Mon Feb 21 18:32:29 2011
@@ -263,8 +263,7 @@ public abstract class AbstractHTTPServle
         
         @Override
         public String getRequestURI() {
-            String query = super.getQueryString();
-            return query != null ? pathInfo + "?" + query : pathInfo; 
+            return getContextPath() + servletPath + pathInfo;
         }
         
     }



Mime
View raw message