Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRaymond Auge2015-08-28 13:44:22 +0000
committerRaymond Auge2015-08-28 16:11:14 +0000
commit13eeb0a927112cb4ce73258f8a460f5f9199a703 (patch)
tree6b045c918e46d11474fde24fa109e3f322118e3a /bundles
parent32c380dfca716e82f1e1c2daf405bd29a7d486d6 (diff)
downloadrt.equinox.bundles-13eeb0a927112cb4ce73258f8a460f5f9199a703.tar.gz
rt.equinox.bundles-13eeb0a927112cb4ce73258f8a460f5f9199a703.tar.xz
rt.equinox.bundles-13eeb0a927112cb4ce73258f8a460f5f9199a703.zip
Bug 476069 - [http servlet] some attributes are masked by the container, so let those fall through
Diffstat (limited to 'bundles')
-rw-r--r--bundles/org.eclipse.equinox.http.servlet/src/org/eclipse/equinox/http/servlet/internal/servlet/HttpServletRequestWrapperImpl.java7
1 files changed, 6 insertions, 1 deletions
diff --git a/bundles/org.eclipse.equinox.http.servlet/src/org/eclipse/equinox/http/servlet/internal/servlet/HttpServletRequestWrapperImpl.java b/bundles/org.eclipse.equinox.http.servlet/src/org/eclipse/equinox/http/servlet/internal/servlet/HttpServletRequestWrapperImpl.java
index cee7ffaf..c00ad4f2 100644
--- a/bundles/org.eclipse.equinox.http.servlet/src/org/eclipse/equinox/http/servlet/internal/servlet/HttpServletRequestWrapperImpl.java
+++ b/bundles/org.eclipse.equinox.http.servlet/src/org/eclipse/equinox/http/servlet/internal/servlet/HttpServletRequestWrapperImpl.java
@@ -298,7 +298,12 @@ public class HttpServletRequestWrapperImpl extends HttpServletRequestWrapper {
}
}
- return current.getAttributes().get(attributeName);
+ Map<String, Object> attributes = current.getAttributes();
+ if (attributes.containsKey(attributeName)) {
+ return attributes.get(attributeName);
+ }
+
+ return request.getAttribute(attributeName);
}
@Override

Back to the top