siyuan/app/src/plugin
Jeffrey Chen c243fea81c
🎨 Improve error handling and security for plugin data storage methods (#16717)
- Check if storageName contains path separators to prevent path injection
- saveData and removeData return complete IWebSocketData objects with code, msg, and data fields for result checking
- saveData and removeData immediately modify this.data[storageName] at function start, so even if the operation fails, subsequent use of this.data[storageName] is not affected
- All methods always resolve
2025-12-29 11:01:38 +08:00
..
API.ts 🎨 https://github.com/siyuan-note/siyuan/pull/16679 2025-12-24 11:09:47 +08:00
customBlockRender.ts 📝 fix https://github.com/siyuan-note/siyuan/issues/8785 2023-07-19 13:55:42 +08:00
EventBus.ts 🎨 https://github.com/siyuan-note/siyuan/issues/11782 2024-10-23 11:47:06 +08:00
index.ts 🎨 Improve error handling and security for plugin data storage methods (#16717) 2025-12-29 11:01:38 +08:00
loader.ts Fix executing the uninstall method when closing the plugin (#16522) 2025-12-13 10:37:05 +08:00
Menu.ts 🎨 Improve #commonMenu menu (#16141) 2025-10-18 10:41:11 +08:00
openTopBarMenu.ts 🎨 Improve #commonMenu menu (#16141) 2025-10-18 10:41:11 +08:00
ProtyleMethod.ts 🎨 https://github.com/siyuan-note/siyuan/issues/16672 2025-12-23 10:03:43 +08:00
Setting.ts fix(Setting.ts): destroyCallback 参数没有被使用 (#12407) 2024-09-08 11:10:29 +08:00
uninstall.ts 🎨 https://github.com/siyuan-note/siyuan/issues/16485 2025-12-03 22:08:49 +08:00