WSU-4110 / Stress-and-Burnout-Reduction

Reduce stress and burnout, among Software Engineers and Developers.
https://www.coolfrog.net
1 stars 2 forks source link

[BUG] Collision on usernames to likes in KV. #110

Closed JesseNaser closed 6 months ago

JesseNaser commented 6 months ago

Is there an existing issue for this?

Current Behavior

KV for /api/likes allows the storage of likes onto _. However, usernames may start with an underscore.

Expected Behavior

Collisions should never occur.

Steps To Reproduce

Create a username with the same name as an ID of a video to like.

Environment

- Cloudflare Pages v2

Anything else?

No response

JesseNaser commented 6 months ago

111 Bug fixed.