Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJan Bartel2014-10-01 02:21:25 -0400
committerJan Bartel2014-10-01 02:21:25 -0400
commite448ea0ab1f2ef69826b693f5ab438e67fe12246 (patch)
tree833154e89682ebae1485a584a9e1eb978022f2d8 /jetty-nosql
parentbc265953a5c4eed7f14f8d90b374449a4119acbd (diff)
downloadorg.eclipse.jetty.project-e448ea0ab1f2ef69826b693f5ab438e67fe12246.tar.gz
org.eclipse.jetty.project-e448ea0ab1f2ef69826b693f5ab438e67fe12246.tar.xz
org.eclipse.jetty.project-e448ea0ab1f2ef69826b693f5ab438e67fe12246.zip
444595 nosql/mongodb - Cleanup process/Refreshing does not respect encoding of attribute keys
Diffstat (limited to 'jetty-nosql')
-rw-r--r--jetty-nosql/src/main/java/org/eclipse/jetty/nosql/mongodb/MongoSessionManager.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/jetty-nosql/src/main/java/org/eclipse/jetty/nosql/mongodb/MongoSessionManager.java b/jetty-nosql/src/main/java/org/eclipse/jetty/nosql/mongodb/MongoSessionManager.java
index 50384666f5..9e5bba5d4e 100644
--- a/jetty-nosql/src/main/java/org/eclipse/jetty/nosql/mongodb/MongoSessionManager.java
+++ b/jetty-nosql/src/main/java/org/eclipse/jetty/nosql/mongodb/MongoSessionManager.java
@@ -399,8 +399,8 @@ public class MongoSessionManager extends NoSqlSessionManager
// cleanup, remove values from session, that don't exist in data anymore:
for (String str : session.getNames())
{
- if (!attrs.keySet().contains(str))
- {
+ if (!attrs.keySet().contains(encodeName(str)))
+ {
session.doPutOrRemove(str,null);
session.unbindValue(str,session.getAttribute(str));
}

Back to the top