Unverified Commit 009823fc authored by Ian Douglas Scott's avatar Ian Douglas Scott
Browse files

Do not follow symlinks when creating package

parent bf8cc11d
......@@ -129,6 +129,7 @@ impl Repo {
let encoder = Encoder::new(file)?;
let mut tar = tar::Builder::new(encoder);
tar.append_dir_all("", package)?;
let encoder = tar.into_inner()?;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment