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 bi...@apache.org on 2020/04/14 20:02:15 UTC

[axis-axis2-java-core] 03/38: Merged r1174618 to the 1.5 branch.

This is an automated email from the ASF dual-hosted git repository.

billblough pushed a commit to branch 1_5
in repository https://gitbox.apache.org/repos/asf/axis-axis2-java-core.git

commit 0c5cb2a1d2c07c2c18d69db880e7521eb5e51601
Author: Sagara Gunathunga <sa...@apache.org>
AuthorDate: Fri Sep 23 09:49:08 2011 +0000

    Merged r1174618 to the 1.5 branch.
---
 .../transport/http/src/org/apache/axis2/transport/http/HTTPWorker.java  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/transport/http/src/org/apache/axis2/transport/http/HTTPWorker.java b/modules/transport/http/src/org/apache/axis2/transport/http/HTTPWorker.java
index b2f5b3b..4d30dea 100644
--- a/modules/transport/http/src/org/apache/axis2/transport/http/HTTPWorker.java
+++ b/modules/transport/http/src/org/apache/axis2/transport/http/HTTPWorker.java
@@ -80,7 +80,7 @@ public class HTTPWorker implements Worker {
                 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");