Oleh Fedorenko
Oleh Fedorenko
> Yes, because when passing the search params from CLI, we don't need to URL encode the search query. We need to do that only when using curl command I'd...
> We are sending search params as a part of url parameters. We need to URL encode it there it is something like `curl --user user:password -X DELETE http://localhost:3000/api/registration_tokens?search=id%20%5E%20%281%2C2%2C3%29 -H...
Ready to merge after https://github.com/theforeman/foreman/pull/10131 is merged, dropped the commit for testing with Foreman PR, the latest run was green: 
BTW, could you please change the commit prefix to be `Fixes` instead of `Refs`, so at least this PR is treated as a "main" fix.