Skip to content

Conversation

sproctor
Copy link
Contributor

@sproctor sproctor commented Oct 3, 2025

What kind of change does this PR introduce?

Bug fix

What is the current behavior?

I missed escaping characters in normal request filters

What is the new behavior?

This PR escapes those as well

Additional context

This PR changes the behavior of filter(FilterOperation) so that it generates the proper encoding for a Pair or List passed with certain FilterOperators. I think passing either previously would have been a bug, so this shouldn't have any practical effect.

encodeAsList(value)
} else {
escapeValue(value)
}
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Either a empty space for all cases or none, to keep it consistent. I'd probably say remove these empty lines, as we don't do that anywhere else

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants