-
-
Notifications
You must be signed in to change notification settings - Fork 5.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
usernames can overlap with api actions (eg: search) #9061
Comments
This is reproducible on try. I created a profile for the username in question. https://try.gitea.io/search |
@6543 I just submitted a PR sorry if you have started working on it. |
this is no huge deal - i found this issue and remember that i had looked at this part of the code a few days before ... so i know this are two lines of code ... HARD To Find/Fix @sapk ;) [sarcasm] |
same reason here 😄 |
[x]
):Description
Gitea allows you to create a user with the username "search" after creating this user, the user will not be retrievable via the api as the url for this is /api/v1/users/search which overlaps with the search action.
The text was updated successfully, but these errors were encountered: