Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Deprecate QueryMap.encode, remove processing of the "encode" parameter#1551

Merged
velo merged 10 commits intoOpenFeign:masterfrom
vitalijr2:enforce-encode
Mar 20, 2022
Merged

Deprecate QueryMap.encode, remove processing of the "encode" parameter#1551
velo merged 10 commits intoOpenFeign:masterfrom
vitalijr2:enforce-encode

Conversation

@vitalijr2
Copy link
Collaborator

@vitalijr2 vitalijr2 commented Dec 20, 2021

Was mentioned in #1475:

  • as Param.encode is deprecated,
  • as we have two encode steps:
  • as UriUtils.encode does not encode string if it is already encoded.

I propose:

  • encode both names and values in ReflectiveFeign, leave another names' encoding in CollectionFormat as it is not conflict with first. see UriUtils.isEncoded
  • mark QueryMap.encode as deprecated too.

@velo velo merged commit 55b35f7 into OpenFeign:master Mar 20, 2022
velo added a commit that referenced this pull request Oct 7, 2024
velo added a commit that referenced this pull request Oct 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants