fix(calendar): normalize Radicale ETags #110
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "fix/calendar-etag-normalization"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Normalize Radicale GET ETags to strong form at the CalDAV client boundary and enforce strict case-sensitive RFC 9110 ETag comparison in etag_equivalent.
Reviewed the complete diff. CalDavClient send_internal normalizes Radicale weak GET ETags to strong form, caller-supplied weak If-Match remains rejected in validate_etag, and etag_equivalent implements strict RFC 9110 case-sensitive comparison rejecting unquoted and malformed tags. Added unit tests for case-sensitivity and malformed tags, and a mock-server response-boundary regression test in tests/caldav_report_tests.rs. All 14 caldav_report_tests, cargo fmt, clippy, and the full test suite pass cleanly.