@dan
username:"test2-n*" -> not found ...so still a problem.
And I do not really care about the FusionAuth Web UI, the problem actually is that I use the Java client via UserSearchCriteria ...so it is quoted anyways. Unfortunetally there are already a lot of 'hyphen-user' in the system and adjusting these by taking the hyphen out is not an option.
M
malle
@malle
0
Reputation
3
Posts
1
Profile views
0
Followers
0
Following
Best posts made by malle
This user hasn't posted anything yet.
Latest posts made by malle
-
RE: How to search for username with hyphen
-
RE: How to search for username with hyphen
Hey @dan
this seemingly occurs with V1.23.3 and also with V1.17.4.
And with both search engines, database and elasticsearch. -
How to search for username with hyphen
Hello,
assume having two users
test-good
test-better
Seemingly the hyphen ist like a special char and won't work with asterisk for like-search.
You can try this in the web UI:
Search for username:test -> Users will be found
Search for username:test* -> Users will be found
Search for username:test-* -> No search result
Quoting the hyphen with backslash has no effect. Is there a way to achieve this?Thank you and regards