-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
$ not support in the name of query parameters #1036
Comments
TL;DR - Please see #894 for an explanation and a possible workaround for now. Explanation: If time permits, or others want to help, we can look into relaxing these restrictions more, but I'm afraid that there are more use cases that others are now depending on that will cause grief in other areas. I know it's not an real answer, but it's an honest one. |
Fixes OpenFeign#1036 Relaxed the regular expression used to determine if an expression is valid to support additional expression variable names. We will no longer restrict what an expression name can be.
Fixes #1036 Relaxed the regular expression used to determine if an expression is valid to support additional expression variable names. We will no longer restrict what an expression name can be.
Fixes #1036 Relaxed the regular expression used to determine if an expression is valid to support additional expression variable names. We will no longer restrict what an expression name can be.
Fixes #1036 Relaxed the regular expression used to determine if an expression is valid to support additional expression variable names. We will no longer restrict what an expression name can be.
I encountered an issue with the processing of query parameters that contain a $ in their name. These apparently aren't processed as expressions but as literals.
I'm currently using FeignJaxRs2 versions '10.2.3'.
Example :
results in the URI :
.../test?$fields={$fields}
instead of:
.../test?$fields=field1,field2
It appears to go wrong in the class feign.template.Expressions.
The regex used to validate the name of the queryparameter doesn't currently allow $.
The text was updated successfully, but these errors were encountered: