cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From serg...@apache.org
Subject svn commit: r1540127 - /cxf/trunk/core/src/main/java/org/apache/cxf/interceptor/LoggingInInterceptor.java
Date Fri, 08 Nov 2013 17:17:34 GMT
Author: sergeyb
Date: Fri Nov  8 17:17:34 2013
New Revision: 1540127

URL: http://svn.apache.org/r1540127
Log:
[CXF-5377] Check REQUEST_URI if no REQUEST_URL property is available

Modified:
    cxf/trunk/core/src/main/java/org/apache/cxf/interceptor/LoggingInInterceptor.java

Modified: cxf/trunk/core/src/main/java/org/apache/cxf/interceptor/LoggingInInterceptor.java
URL: http://svn.apache.org/viewvc/cxf/trunk/core/src/main/java/org/apache/cxf/interceptor/LoggingInInterceptor.java?rev=1540127&r1=1540126&r2=1540127&view=diff
==============================================================================
--- cxf/trunk/core/src/main/java/org/apache/cxf/interceptor/LoggingInInterceptor.java (original)
+++ cxf/trunk/core/src/main/java/org/apache/cxf/interceptor/LoggingInInterceptor.java Fri
Nov  8 17:17:34 2013
@@ -116,6 +116,9 @@ public class LoggingInInterceptor extend
             buffer.getHeader().append(headers);
         }
         String uri = (String)message.get(Message.REQUEST_URL);
+        if (uri == null) {
+            uri = (String)message.get(Message.REQUEST_URI);
+        }
         if (uri != null) {
             buffer.getAddress().append(uri);
             String query = (String)message.get(Message.QUERY_STRING);



Mime
View raw message