Open
Description
I have a project that works under Feign 9 but is broken in Feign 10.
Consider the following example:
interface ExampleClient {
@RequestLine("GET /search?text={text}")
void search(@Param("text") String text);
}
Most values are automatically encoded when passed through. But if there is a value that appears to match a pre-encoded hex value it will not be encoded correctly.
text = %example%
works correctly
text = %address%
is not encoded correctly
I assume the problem is that the %ad
in address could be interpreted as a hex value so feign is attempting to infer that the value is already encoded. The issue is that there is no reliable way to pass through a value like %address%
that looks like a hex value but actually is not.