mirror of
https://github.com/HKUDS/DeepTutor.git
synced 2026-12-02 04:59:37 +08:00
Registration checked the name and nothing else, but the default store path keeps only alphanumerics, `-` and `_`, so "My Lib" and "My/Lib" both resolve to My_Lib.db. Two libraries sharing that file would merge their objects, and a device paired to either would sync into both. Reject at registration instead, naming the library that already owns the store. The same check covers an explicitly pinned `db_path` pointing at another library's file.