Refractoring Stage 5 Completed channel-specific IPC validation
This commit is contained in:
+2
-2
@@ -88,7 +88,7 @@ This is a gradual destination, not a requirement to move everything at once. IPC
|
||||
- [x] Restrict navigation to the exact app document URL; reject arbitrary `file:` navigation.
|
||||
- [x] Validate channel names, argument counts/types, and nested payload complexity (`desktop/security/ipc-arguments.cjs`).
|
||||
- [x] Bind DAV object updates/deletes to the selected account, server collection, server-returned resource, and current ETag (`desktop/dav/remote-reference.cjs`).
|
||||
- [ ] Finish channel-specific validation for remaining nested fields and sensitive values.
|
||||
- [x] Validate channel-specific fields and limits; reject renderer-supplied raw SMTP payload fields.
|
||||
- [ ] Register handlers by feature and keep `preload.cjs` as the narrow renderer API.
|
||||
- [ ] Return deliberate DTOs rather than internal store objects.
|
||||
|
||||
@@ -130,5 +130,5 @@ This is a gradual destination, not a requirement to move everything at once. IPC
|
||||
- Step 5 also aligned `will-navigate` with the same exact-document policy; `npm test` passes 96 tests.
|
||||
- Step 5 added request schemas for all 54 registered channels, plus depth/collection/string bounds. Base64 attachment payloads remain uncapped to preserve the existing no-total-size-cap behavior.
|
||||
- Step 5 also binds DAV updates/deletes to the configured account, same-origin collection, a server-listed resource, and a current ETag; DAV IDs are constrained against line injection and path traversal.
|
||||
- The current IPC/DAV validation changes pass the full suite: 106 tests.
|
||||
- The current IPC/DAV validation changes pass the full suite: 108 tests.
|
||||
- While work continued, `package.json` and `package-lock.json` reflected a version bump to `0.4.6`; those changes were preserved.
|
||||
|
||||
Reference in New Issue
Block a user