Xuanwo commented on PR #8522:
URL: https://github.com/apache/opendal/pull/8522#issuecomment-7048490386

   AI-generated review note: Thanks for taking on the `dav-server` 0.12 
upgrade, @ngg! We are checking with @Xuanwo on the breaking upgrade direction 
(noting it also resolves upstream GHSA-jj29-x8v4-w733), and noticed two 
concrete items we can address in parallel:
   
   1. **`PROPFIND` ETag double-quoting regression**: OpenDAL's 
`Metadata::etag()` preserves quotes and any `W/` weak prefix, and 
`integrations/dav-server/src/metadata.rs` returns it verbatim. Unlike 0.11, 
`dav-server` 0.12 wraps `etag()` in quotes when emitting `DAV:getetag` 
(messense/dav-server-rs#77), so an OpenDAL ETag like `"abc"` becomes `""abc""`. 
Could you strip outer quotes (or adjust normalization) with a test verifying 
single-quoted `PROPFIND` output and clarifying how weak `W/"..."` ETags are 
handled so weak validators are not silently promoted to strong ones?
   2. **Symlink docs**: Implementing `symlink_metadata -> metadata` and 
`is_symlink -> false` preserves existing behavior, though `services::Fs` 
follows symlinks so `hide_symlinks(true)` will not hide them. Could you add a 
short note documenting this limitation in the adapter docs?
   
   Also note that `dav-server` 0.12 raises transitive dependency floors (e.g., 
Tokio 1.50), so please verify whether `integrations/dav-server` still builds on 
Rust 1.91 MSRV.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to