Recent searches


No recent searches

Bug: searching users by blank email gives back a user with an email



Posted Jun 05, 2024

In our test environment we noticed that when calling GET /api/v2/users/search?query=email: (that is to say, with a blank email) it returns a user with an email. 

This doesn't seem intentional, I would expect a 400 error (or a list of users with no email, although I imagine it'd be better to have that functionality under a more explicit search string such as email:null or something).


0

3

3 comments

did you try with “-email:*”?? 

0


Parker Gordon did you find a solution? thx

0


finally I get it: -email:none

0


Please sign in to leave a comment.

Didn't find what you're looking for?

New post