fix(replication): restrict metadata replication targets (#5696)

This commit is contained in:
Zhengchao An
2026-08-04 22:46:42 +08:00
committed by GitHub
parent d401c65719
commit c26419e357
3 changed files with 45 additions and 3 deletions
+1
View File
@@ -34,6 +34,7 @@ pub(crate) const SSEC_ALGORITHM_HEADER: &str = "x-amz-server-side-encryption-cus
pub(crate) const SSEC_KEY_HEADER: &str = "x-amz-server-side-encryption-customer-key";
pub(crate) const SSEC_KEY_MD5_HEADER: &str = "x-amz-server-side-encryption-customer-key-md5";
pub(crate) const SUFFIX_ACTUAL_SIZE: &str = "actual-size";
pub(crate) const SUFFIX_REPLICATION_STATUS: &str = "replication-status";
pub(crate) const SUFFIX_REPLICATION_RESET_STATUS: &str = "replication-reset-status";
fn internal_keys(suffix: &str) -> (String, String) {