fix createmesh with email as userid #6596

This commit is contained in:
Simon Smith 2024-12-18 18:31:20 +00:00 committed by GitHub
parent 22fc95926a
commit a1854fa074
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -2404,6 +2404,10 @@ function CreateMeshCentralServer(config, args) {
storeEvent.links = Object.assign({}, storeEvent.links);
for (var i in storeEvent.links) { var ue = obj.common.escapeFieldName(i); if (ue !== i) { storeEvent.links[ue] = storeEvent.links[i]; delete storeEvent.links[i]; } }
}
if (storeEvent.mesh) {
// Escape "mesh" names that may have "." and/or "$"
storeEvent.mesh = obj.common.escapeLinksFieldNameEx(storeEvent.mesh);
}
storeEvent.ids = ids;
obj.db.StoreEvent(storeEvent);
}