You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-commits@axis.apache.org by sa...@apache.org on 2011/09/23 11:37:34 UTC
svn commit: r1174618 -
/axis/axis2/java/core/trunk/modules/transport/http/src/org/apache/axis2/transport/http/HTTPWorker.java
Author: sagara
Date: Fri Sep 23 09:37:34 2011
New Revision: 1174618
URL: http://svn.apache.org/viewvc?rev=1174618&view=rev
Log:
Applied patch for AXIS2-5153.
Modified:
axis/axis2/java/core/trunk/modules/transport/http/src/org/apache/axis2/transport/http/HTTPWorker.java
Modified: axis/axis2/java/core/trunk/modules/transport/http/src/org/apache/axis2/transport/http/HTTPWorker.java
URL: http://svn.apache.org/viewvc/axis/axis2/java/core/trunk/modules/transport/http/src/org/apache/axis2/transport/http/HTTPWorker.java?rev=1174618&r1=1174617&r2=1174618&view=diff
==============================================================================
--- axis/axis2/java/core/trunk/modules/transport/http/src/org/apache/axis2/transport/http/HTTPWorker.java (original)
+++ axis/axis2/java/core/trunk/modules/transport/http/src/org/apache/axis2/transport/http/HTTPWorker.java Fri Sep 23 09:37:34 2011
@@ -82,7 +82,7 @@ public class HTTPWorker implements Worke
response.addHeader(new BasicHeader("Location", contextPath));
return;
}
- if (uri.endsWith("axis2/services/")) {
+ if (uri.endsWith(contextPath)) {
String s = HTTPTransportReceiver.getServicesHTML(configurationContext);
response.setStatus(HttpStatus.SC_OK);
response.setContentType("text/html");