You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
If I create a user with username = users, the /users page breaks.
To Reproduce
Create a new account with username = users
Log in with that account
Navigate to the /users page
You will encounter an error page.
Expected behavior
The user should not be allowed to create a user with username = user, or the page routing should be nested one layer further, like /users/[username]. Using the same level for both dynamic and static routes is risky as shown above.
Screenshots
Environment (please complete the following information):
Development or production app environment
Browser [e.g. chrome v60.12.0, safari 10.1]
OS: [e.g. iOS, Windows x64] (if applicable)
node version (if applicable)
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered:
Describe the bug
If I create a user with username =
users
, the/users
page breaks.To Reproduce
users
/users
pageExpected behavior
The user should not be allowed to create a user with username =
user
, or the page routing should be nested one layer further, like/users/[username]
. Using the same level for both dynamic and static routes is risky as shown above.Screenshots


Environment (please complete the following information):
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: