-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
@PathParam reactive client encoding vs. classic #26572
Comments
This problem was introduced in quarkus 2.8.3 |
I think encoding should be the default behavior as it is but having a switch to disable it definitely sounds reasonable. |
Is this still an issue? |
yes, it is ... but i workaround it by splitting up the path into segments ... and filling them into variables as needed. |
I just hit the same issue. Since PathParam can't be configured, I can't achieve what I wanted to do.
Since When reading documentation, I should be able to do: I does. But then it actually calls |
Just hit a similar issue, but on the server side, using Quarkus 3.6.0. Example: interface ExampleService {
@GET
@Path("/foo/{name:.*}/bar")
String foo(@PathParam("name") String name);
} For |
@snazy any chance you can try I merged a PR today that may also fix your case |
Should I try too? Or no chance in my case? |
@fabricepipart1a the client issue hasn't been addressed |
@geoand I can probably try tomorrow. |
🙏 |
Thanks for checking! #37513 is the change that fixed it. The plan is to get it in |
Please reopen and make this behavior configurable.
Now, this fails setting variable paths to GET or POST to.
Take this example, where path segments are variable in a docker image name.
I have a service which fetches manifests from the image registry which fails now.
Now, that
@PathParam
gets urlencoded, all my wiremock tests fail :[In classic client, where no encoding was enabled by default, this worked perfectly.
I think not to encode by default should be the way to go, as the neccessity of encoding strings before using as
@PathParam
could be done without any hassle.Originally posted by @runzhammer in #25418 (comment)
The text was updated successfully, but these errors were encountered: