-
Notifications
You must be signed in to change notification settings - Fork 358
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Content-Disposition header with filename* returns not just the filename #5429
Comments
This is encoding as per RFC 5987 for |
Yes, the encoded value is ok. But what I am noting is that |
Shouldn't |
There is no |
Noticed that behavior too. I have to substring the result, it's quite annoying. |
I am trying to upload a file. The receiving server (Helidon 2.x) is using jersey-media-multipart. I am getting the filename via the
FormDataContentDisposition
object but the filename is the whole string value from thefilename*
attribute from theContent-Disposition
header. I would have expected just the real filename.I have tried this with jersey-media-multipart 2.40.
I am sending this
and would have expected to get just
Überflieger.jpg
from theContentDisposition::getFileName
method but I gotUTF-8'de'%C3%9Cberflieger.jpg
.Is this the correct behaviour? If it is then how do I get the expected result of
Überflieger.jpg
from the filename value I get from the ContentDisposition class?The text was updated successfully, but these errors were encountered: