-
Notifications
You must be signed in to change notification settings - Fork 49
Upgrade Apache Commons Compress to 1.15 #71
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
Comments
After the upgrade there is a test failing so I'll postpone the upgrade until the issue is found and resolved. I'll debug it to see where the problem is. |
Are you having the same null character issue? Compress 1.15 seems to be broken for me. |
I think we have the same issue in mind. I found the root cause. In if ( ze.isUnixSymlink() )
{
ZipEncoding enc = ZipEncodingHelper.getZipEncoding( getEncoding() );
final byte[] bytes = enc.encode( symlinkDestination ).array();
payload = new ByteArrayInputStream( bytes );
zOut.addArchiveEntry( ze, createInputStreamSupplier( payload ), true );
} The offender is I'll submit a fix tomorrow after I double check that we don't have the same bug somewhere else in the code. |
Correct, I see several null chars in the debugger. |
@plamentotev Are you talking about |
Yes. I've made a merge request with the fix and the upgrade - #72 |
It brings some fixes and most importantly should fix #57
The text was updated successfully, but these errors were encountered: