don't append index document to redirect urls

This commit is contained in:
trinity-1686a
2025-11-06 18:03:58 +01:00
parent 2e7a6fccba
commit 5333285b50
2 changed files with 62 additions and 18 deletions
+1 -1
View File
@@ -579,7 +579,7 @@ fn path_to_keys(
};
if let Some(condition) = &routing_rule.condition {
let suffix = if let Some(prefix) = &condition.prefix {
let Some(suffix) = key.strip_prefix(prefix) else {
let Some(suffix) = base_key.strip_prefix(prefix) else {
continue;
};
Some(suffix)