Skip to content

Conversation

@weilikuo
Copy link
Member

Manually encodes the query parameter name and value to ensure the "+" character is percent encoded

Example result captured in Proxy (= now properly encoded to %2B)

https://[Server]/members/api/feed/?filter=authors.id:6647aacb406f410001ac6a9f%2Btype:post  [...]

@weilikuo weilikuo requested a review from zac September 19, 2024 16:20
@zac
Copy link
Member

zac commented Sep 23, 2024

@weilikuo Is there any way to opt into this encoding? I hate to complicate this too much, but having some kind of queryEncodingStrategy which we could set to .custom or something?

@zac
Copy link
Member

zac commented Sep 26, 2024

@weilikuo Here's my thinking on how to make this opt-in: #18. Happy to get feedback though if this works for our use-case!

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.

3 participants