Commit graph

1 commit

Author SHA1 Message Date
Johannes Millan
dd419a1d3c fix(sync): improve WebDAV conditional headers validation and error handling
- Add comprehensive validation for timestamps and date strings in conditional headers
- Normalize all dates to RFC 7231 compliant UTC format before sending
- Fall back to ETag handling when date parsing fails
- Add detailed logging for debugging server compatibility issues
- Add unit tests for invalid date/timestamp scenarios
- Document conditional headers behavior and limitations

This ensures more robust handling of various WebDAV server implementations
and prevents sending malformed conditional headers that could be ignored
or cause errors.
2025-07-18 19:07:28 +02:00