-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
Resource method String param annotated with @RestForm not decoded automatically #23055
Comments
I am surprised we don't have any TCK issues with this... @FroMage any idea? |
Also surprised. I honestly don't remember how we implemented this. |
Well, I don't remember because I didn't write this part, check out |
Do you have a reproducer? The spec and RestForm code should be exactly the same, and the TCK does test this. |
I'll try to prepare a reproducer today. |
@stuartwdouglas Here it is: https://github.com/mkouba/issue-23055 There is a simple form in the |
Fixes quarkusio#23055 (cherry picked from commit 41f2d20)
Describe the bug
It seems that a String resource method param annotated with
@RestForm
is not decoded automatically. AFAIK the spec version of this annotation, i.e.@FormParam
is decoded unless used together with@Encoded
.Expected behavior
No response
Actual behavior
No response
How to Reproduce?
No response
Output of
uname -a
orver
No response
Output of
java -version
No response
GraalVM version (if different from Java)
No response
Quarkus version or git rev
No response
Build tool (ie. output of
mvnw --version
orgradlew --version
)No response
Additional information
No response
The text was updated successfully, but these errors were encountered: