You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I believe the encoded option in the @Param annotation does nothing. Regardless whether I set the value to false or true, my input is always encoded again (which in my use case is undesirable).
Browsing around this repository, I can see the value being read in the Default implementation of the Contract interface, and then being added to the indexToEncoded variable in the MethodMetadata class. But, from there I cannot find any code that actually reads this value.
encoded has been maintained for backward compatibility and should be deprecated. We no longer need it as values that are already pct-encoded should be identified during expansion and passed through without any changes. #1096 does indicate that there are some cases where we are not correctly identifying provided pct-encoded values. I'll relate these two for investigation.
I believe the
encoded
option in the@Param
annotation does nothing. Regardless whether I set the value tofalse
ortrue
, my input is always encoded again (which in my use case is undesirable).Browsing around this repository, I can see the value being read in the
Default
implementation of theContract
interface, and then being added to theindexToEncoded
variable in theMethodMetadata
class. But, from there I cannot find any code that actually reads this value.feign/core/src/main/java/feign/Param.java
Line 44 in c7d8f0e
feign/core/src/main/java/feign/Contract.java
Line 272 in c7d8f0e
feign/core/src/main/java/feign/MethodMetadata.java
Line 138 in c7d8f0e
The text was updated successfully, but these errors were encountered: