Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Zip.add() with empty file list cause add full working directory to zip file #43

Closed
Menci opened this issue Jul 15, 2017 · 4 comments
Closed
Labels

Comments

@Menci
Copy link

Menci commented Jul 15, 2017

The 7z command line will be

/usr/lib/p7zip/7z a /home/syzoj/syzoj/uploads/testdata/312312354.zip -ssc -y
@AbdelghaniTassi
Copy link
Contributor

How do you call add function ?
can you post a piece of code ?

@AbdelghaniTassi
Copy link
Contributor

A test should be added if the file list is empty 7z should not be called

@AbdelghaniTassi
Copy link
Contributor

#44 fixed here
pull request still need to be validated

q2s2t added a commit that referenced this issue Aug 20, 2018
@q2s2t
Copy link
Owner

q2s2t commented Aug 26, 2018

@Menci what are you trying to achieve ?
I think it's the default behaviour of 7-zip

@q2s2t q2s2t closed this as completed Aug 26, 2018
@q2s2t q2s2t added the wontfix label Aug 26, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants