Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] [ApiServer] When querying list, like query with % not support special characher(% \ _) #16682

Open
3 tasks done
shouwangyw opened this issue Oct 10, 2024 · 0 comments · May be fixed by #16683
Open
3 tasks done
Assignees
Labels
backend bug Something isn't working

Comments

@shouwangyw
Copy link
Contributor

shouwangyw commented Oct 10, 2024

Search before asking

  • I had searched in the issues and found no similar issues.

What happened

When querying list, text query condition use 'like' query does not support (% \ _)

What you expected to happen

When query for _, the query is not hit, but all records are queried,
When query for %, the query is not hit, but empty records are queried.

How to reproduce

For example:

image image

Anything else

ParameterUtils#handleEscapes has a bug

Version

dev

Are you willing to submit PR?

  • Yes I am willing to submit a PR!

Code of Conduct

@shouwangyw shouwangyw added bug Something isn't working Waiting for reply Waiting for reply labels Oct 10, 2024
@SbloodyS SbloodyS added backend and removed Waiting for reply Waiting for reply labels Oct 10, 2024
@shouwangyw shouwangyw changed the title [Bug] [ApiServer] When querying list, text query condition use 'like' query does not support (% \ _) [Bug] [ApiServer] When querying list, like query with % not support special characher(% \ _) Oct 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backend bug Something isn't working
Projects
None yet
2 participants