diff --git a/src/web.rs b/src/web.rs index 4d1f231..e73eca3 100644 --- a/src/web.rs +++ b/src/web.rs @@ -35,7 +35,7 @@ async fn handle_tar( tail: web::Path, ) -> impl Responder { let relpath = PathBuf::from(tail.trim_end_matches('/')); - let fullpath = root.join(&relpath).canonicalize().unwrap(); + let fullpath = root.join(&relpath); // if a .tar already exists, just return it as-is let mut fullpath_tar = fullpath.clone();