appy-one / acebase

A fast, low memory, transactional, index & query enabled NoSQL database engine and server for node.js and browser with realtime data change notifications
MIT License
481 stars 27 forks source link

Special chars in path corrupt data #209

Closed younesbenallal closed 1 year ago

younesbenallal commented 1 year ago

Hi! It seems that storing objects with special characters in keys corrupts data (which prevents from getting, removing or updating it). For example, I receive french words from my users, which may contain chars like é. The issue is that it's difficult to debug since I can't retrieve objects that are corrupted.

I'm using Electron and Node. I've tried in the Npm RunKit playground, I don't have this issue.

Thanks 🙏

appy-one commented 1 year ago

Hi @younesbenallal thanks for reporting this. I came across some code that might have caused this issue, fix is on its way