Skip to content
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

Race condition in submissions and username changes can lead to incorrect message routing #649

Open
brassy-endomorph opened this issue Oct 5, 2024 · 0 comments

Comments

@brassy-endomorph
Copy link
Collaborator

Is your feature request related to a problem? Please describe.

  1. User A has username user_a
  2. Anon user goes to /to/user_a and starts composing a message
  3. User A changes their username to a_user
  4. User B changes their username to user_a
  5. Anon user submits a POST to /to/user_a
  6. User B receives the message instead of User A

Describe the solution you'd like

  1. For submissions include the user_id which is matched to the username in the URL
  2. Better: implement Add a permanent record of userames to prevent squatting #648
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant