diff --git a/src/canisters/frontend/ic-certified-assets/src/asset_certification/types/certification.rs b/src/canisters/frontend/ic-certified-assets/src/asset_certification/types/certification.rs index eb3339cfc1..209dee8b74 100644 --- a/src/canisters/frontend/ic-certified-assets/src/asset_certification/types/certification.rs +++ b/src/canisters/frontend/ic-certified-assets/src/asset_certification/types/certification.rs @@ -154,7 +154,7 @@ impl HashTreePath { // starting at 1 because "http_expr" is always the starting element for i in 1..self.0.len() { - let mut without_trailing_slash: Vec = self.0.as_slice()[1..i].into(); + let mut without_trailing_slash: Vec = self.0.as_slice()[0..i].into(); let mut with_trailing_slash = without_trailing_slash.clone(); without_trailing_slash.push("<*>".into()); with_trailing_slash.push("".into()); diff --git a/src/distributed/assetstorage.wasm.gz b/src/distributed/assetstorage.wasm.gz index 16d421ec04..cacf62ad6e 100755 Binary files a/src/distributed/assetstorage.wasm.gz and b/src/distributed/assetstorage.wasm.gz differ