Closed GoogleCodeExporter closed 9 years ago
This message is from the java driver and not from morphia. At the point this
happens morphia knows nothing about the field in question.
Please create this issue here: http://jira.mongodb.org/browse/java
You will need to escape user input data if you are using them for fields/keys.
Do you have a Map<String, Object> someplace?
Original comment by scotthernandez
on 25 Mar 2012 at 4:04
Thanks, yes, you're right, I had a Map<String, String> and one of the keys had
a dot in it (the key was a hostname). I've fixed this with proper escaping,
thanks.
I suppose it would be a handy feature to add another annotation to automate
escaping map keys, what do you think?
thanks
Original comment by ostraz
on 25 Mar 2012 at 8:41
Original issue reported on code.google.com by
ostraz
on 25 Mar 2012 at 3:59