nishanths/scrobble

server's username validation is weaker that client's validation

Closed this issue · 1 comments

client code:

const validateUsername = (u: string): ({ reason: "", ok: true } | { reason: string, ok: false }) => {

the server code doesn't validate that the username doesn't contain the string "scrobble".

The server actually does check for this already.