-
Notifications
You must be signed in to change notification settings - Fork 2.8k
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
Files with åäö in there name gets an inputstream that is null in MultipartForm uploads #41272
Labels
Milestone
Comments
Is this still an issue? Also, do you know which was the last version of Quarkus that this worked? |
From what I can see, it's still an issue with 3.18.3. @jamezp does it ring a bell? The reproducer is using RESTEasy. |
@gsmet Yes. There was a bug in Apache James mim4j which was recently fixed and released. The RESTEasy issue was https://issues.redhat.com/browse/RESTEASY-3495 and it was fixed in mime4j 0.8.12. |
gsmet
added a commit
to gsmet/quarkus
that referenced
this issue
Feb 18, 2025
Fixes quarkusio#41272 (cherry picked from commit ebe9486)
gsmet
added a commit
to gsmet/quarkus
that referenced
this issue
Feb 18, 2025
Fixes quarkusio#41272 (cherry picked from commit ebe9486)
gsmet
added a commit
to gsmet/quarkus
that referenced
this issue
Feb 19, 2025
Fixes quarkusio#41272 (cherry picked from commit ebe9486)
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
When reciving multipart form data that conatins a file represented as an inputstream. The input stream is null if the filename contains åäö (in utf-8). This worked in the previous version of quarkus.
Expected behavior
Files with eg. åäö is not null.
Actual behavior
Files with eg. åäö is null.
How to Reproduce?
I attached a smal tgz that repruduces this case.
multipart.zip
Output of
uname -a
orver
Linux 7540-0119 5.15.153.1-microsoft-standard-WSL2 #1 SMP Fri Mar 29 23:14:13 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux
Output of
java -version
openjdk 21.0.2 2024-01-16 LTS
Quarkus version or git rev
3.8.4
Build tool (ie. output of
mvnw --version
orgradlew --version
)Apache Maven 3.9.6 (bc0240f3c744dd6b6ec2920b3cd08dcc295161ae)
Additional information
No response
The text was updated successfully, but these errors were encountered: