Details
Description
Expected behavior:
> db.runCommand({createRole: "foo\0er", roles: [], privileges: []})
|
{ "ok" : 0, ... }
|
Actual behavior:
> db.runCommand({createRole: "foo\0er", roles: [], privileges: []})
|
{ "ok" : 1 }
|
> db.getSiblingDB("admin").system.roles.find()
|
{ "_id" : "test.foo\u0000er", "name" : "foo\u0000er", "source" : "test", "privileges" : [ ], "roles" : [ ] }
|
Attachments
Issue Links
- related to
-
SERVER-10897 User and role names should be canonicalized by the server using Unicode canonicalization form NFC
-
- Backlog
-
-
SERVER-10898 Passwords should be canonicalized according to unicode canonicalization NFC
-
- Closed
-