summaryrefslogtreecommitdiffstats
path: root/sandbox/sebastien/java/dynamic/modules/binding-http
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--sandbox/sebastien/java/dynamic/modules/binding-http-runtime/src/main/java/org/apache/tuscany/sca/binding/http/provider/HTTPBindingListenerServlet.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/sandbox/sebastien/java/dynamic/modules/binding-http-runtime/src/main/java/org/apache/tuscany/sca/binding/http/provider/HTTPBindingListenerServlet.java b/sandbox/sebastien/java/dynamic/modules/binding-http-runtime/src/main/java/org/apache/tuscany/sca/binding/http/provider/HTTPBindingListenerServlet.java
index 0fe13337ef..0b49ed09e5 100644
--- a/sandbox/sebastien/java/dynamic/modules/binding-http-runtime/src/main/java/org/apache/tuscany/sca/binding/http/provider/HTTPBindingListenerServlet.java
+++ b/sandbox/sebastien/java/dynamic/modules/binding-http-runtime/src/main/java/org/apache/tuscany/sca/binding/http/provider/HTTPBindingListenerServlet.java
@@ -75,7 +75,7 @@ public class HTTPBindingListenerServlet extends HttpServlet {
@Override
protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {
// Get the request path
- String path = URLDecoder.decode(request.getRequestURI().substring(request.getServletPath().length()), "UTF-8");
+ String path = URLDecoder.decode(request.getPathInfo(), "UTF-8");
if (path.length() ==0) {
// Redirect to a URL ending with / to make relative hrefs work
// relative to the served resource.