question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Some new issues about FileUpload in 4.1.52.Final

See original GitHub issue

Expected behavior

I had a program to upgrade all servers. users upload file like .war, .exe, and My program will send file to targer server and restart it. Now, I found some issue in 4.1.52.Final. When the war file upload, I called shell move it to tomcat’webapps and restart it, but it doesn’t run well, the exception is java.util.zip.ZipException: invalid LOC header (bad signature) . I change the version to 4.1.42.Final, it works fine! I had checked file size, it’s OK, but there must have are some changes in the file, so the signature is bad. Looking forward to your answers! Best regards!

Actual behavior

It can working well…

Steps to reproduce

Useing 4.1.52.Final to file upload…

Minimal yet complete reproducer code (or URL to code)

https://github.com/github-big-cheng/upgrade.git

Netty version

4.1.52.Final

JVM version (e.g. java -version)

jdk 1.7

OS version (e.g. uname -a)

I had test it on Windows 10 and Linux CentOS 7

Issue Analytics

  • State:open
  • Created 3 years ago
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
chrisvestcommented, Sep 9, 2020

Can you narrow down the version range, like, does it work in 4.1.51 for instance? The reproducer you linked does not look minimal.

0reactions
wisely-mancommented, Sep 9, 2020

Can you narrow down the version range, like, does it work in 4.1.51 for instance? The reproducer you linked does not look minimal.

The newest version is 4.1.49.Final. Hope can help you…

so to clarify

yes

Read more comments on GitHub >

github_iconTop Results From Across the Web

Netty 4.1.51.Final has a bug in Http File Upload - Stack Overflow
When I use HttpPostRequestDecoder to receive file uploaded but only get an incomplete file. The method offer() may not put segmented file body ......
Read more >
Extra Fields setup disappears - page 2 - WordPress.org
I need some help with the setup. I just purchased the Lifetime Starter package and am having issues with the new form. ......
Read more >
Open Source Used In security_automation identity-as - Cisco
This document contains licenses and notices for open source software used in this product.
Read more >
GHSA-5mcr-gq6c-3hq2 - Open Source Insights
Hi Netty Security Team, > > I've been working on some security research ... In a majority of cases, this means that the...
Read more >
Oracle Utilities Work and Asset Cloud Service
adaptation of i) Oracle programs (including any operating system, ... 4.1.52.Final. Apache License, Version 2.0, January 2004.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found