aminghadersohi commented on PR #41593:
URL: https://github.com/apache/superset/pull/41593#issuecomment-4857395276

   Good call — done. Extracted into `escape_like()` in 
`superset/mcp_service/utils/sanitization.py`, exported from the utils package, 
and added 6 unit tests for the helper (plain text, `%`, `_`, backslash, mixed, 
empty). `find_users.py` now calls `escape_like(request.query.strip())` on a 
single line.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to