mirror of
https://github.com/rustfs/rustfs.git
synced 2026-07-27 08:38:58 +00:00
6e72dc3076
fix(ecstore): replace k.unwrap() with safe pattern in bucket_target_sys Replace unsafe k.unwrap().as_str() with if let Some(key_str) pattern in 5 locations where HeaderMap iterator yields (Option<HeaderName>, Value). This prevents potential panics if header names are invalid. Refs https://github.com/rustfs/backlog/issues/729