diff --git a/crates/ssh-browser/src/origin/mod.rs b/crates/ssh-browser/src/origin/mod.rs index ae5ccd8..7e72448 100644 --- a/crates/ssh-browser/src/origin/mod.rs +++ b/crates/ssh-browser/src/origin/mod.rs @@ -1031,7 +1031,21 @@ impl Origin { Err(e) => return fail(StatusCode::FORBIDDEN, format!("{e:#}")), }; + // `?ls` asks for one level of the tree, and it asks that of a directory holding an + // `index.html` as much as of any other. Resolving to the index first meant the tree + // fetched a whole document and spliced it into itself: measured against a gallery on + // souta's host, 15 kB of rendered page arriving where 468 bytes of `