Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSimon Kaegi2010-04-22 01:51:05 +0000
committerSimon Kaegi2010-04-22 01:51:05 +0000
commit98edc8a988aef42cfd7bda2db2c5315caf462396 (patch)
treed116bc5e24481c18b20c8de0b381ee0a85cbac1e
parentee06c4a41a1ac1418a899c2672b405b24904caaa (diff)
downloadrt.equinox.bundles-20100421.tar.gz
rt.equinox.bundles-20100421.tar.xz
rt.equinox.bundles-20100421.zip
Bug 309094 - Extension alias not properly managed when registering a servletv20100421
-rw-r--r--bundles/org.eclipse.equinox.http.servlet/src/org/eclipse/equinox/http/servlet/internal/ProxyServlet.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/bundles/org.eclipse.equinox.http.servlet/src/org/eclipse/equinox/http/servlet/internal/ProxyServlet.java b/bundles/org.eclipse.equinox.http.servlet/src/org/eclipse/equinox/http/servlet/internal/ProxyServlet.java
index fdd606769..dae31f9ef 100644
--- a/bundles/org.eclipse.equinox.http.servlet/src/org/eclipse/equinox/http/servlet/internal/ProxyServlet.java
+++ b/bundles/org.eclipse.equinox.http.servlet/src/org/eclipse/equinox/http/servlet/internal/ProxyServlet.java
@@ -80,7 +80,7 @@ public class ProxyServlet extends HttpServlet {
private String findExtensionAlias(String alias) {
String lastSegment = alias.substring(alias.lastIndexOf('/') + 1);
- int dot = lastSegment.indexOf('.');
+ int dot = lastSegment.lastIndexOf('.');
if (dot == -1)
return null;
String extension = lastSegment.substring(dot + 1);

Back to the top