dolphinscheduler icon indicating copy to clipboard operation
dolphinscheduler copied to clipboard

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

Open shouwangyw opened this issue 4 months ago • 0 comments

Search before asking

  • [X] 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?

  • [X] Yes I am willing to submit a PR!

Code of Conduct

shouwangyw avatar Oct 10 '24 03:10 shouwangyw