Closed coudot closed 8 years ago
If we try to store a session like this :
{ "keyA" => { "key.B" => "value" } }
We get an error:
(in cleanup) MongoDB::DocumentError: documents for storage cannot contain the '.' character at /usr/local/lib/perl/5.18.2/MongoDB/BSON.pm line 215.
This is explained here: http://stackoverflow.com/questions/12397118/mongodb-dot-in-key-name
As we can't know what would be the data stored, we should substitute forbidden characters in the serialization, and restore them in deserialization.
If we try to store a session like this :
We get an error:
This is explained here: http://stackoverflow.com/questions/12397118/mongodb-dot-in-key-name
As we can't know what would be the data stored, we should substitute forbidden characters in the serialization, and restore them in deserialization.