You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: _TODO.md
+4Lines changed: 4 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,9 @@
1
1
# TODO
2
2
3
+
Ensured consent logging never sends malformed IDs by validating/regenerating DataSubjectId inside consent.ts. A new helper now runs on every consent change, fixes the state atom when needed, and uses the regenerated ID immediately so the /api/gdpr/consent payload always passes API validation (no more 400s/console noise on Mobile Safari).
4
+
5
+
Added regression coverage in consent.spec.ts: the existing happy-path test now uses a valid UUID, and a new test asserts we regenerate & persist a DataSubjectId when the store provides an empty/invalid value before logging.
6
+
3
7
## Performance
4
8
5
9
Implement mitigations in test/e2e/specs/07-performance/PERFORMANCE.md
0 commit comments