-
Notifications
You must be signed in to change notification settings - Fork 2k
Open
Labels
bugUnexpected or incorrect behaviorUnexpected or incorrect behaviorfeedback providedFeedback has been provided to the authorFeedback has been provided to the authorregressionBugs and issues related to unintended breaking changesBugs and issues related to unintended breaking changes
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.
ValeryPonomarev and jannic
Metadata
Metadata
Assignees
Labels
bugUnexpected or incorrect behaviorUnexpected or incorrect behaviorfeedback providedFeedback has been provided to the authorFeedback has been provided to the authorregressionBugs and issues related to unintended breaking changesBugs and issues related to unintended breaking changes