Duplicate Reply Glitch
Website → Website problems & bugs → Duplicate Reply Glitch
Hai, Now i can’t use the whole guidelines about this glitch since it randomly happens
what i expected A reply what happened Duplicate reply how to reproduce Its random, a bit
If you need a bit more info bout’ what am talkin’ about, it basiclly makes a duplicate reply of the current reply you sent
(Sowwy for bad wnglish :<)
You could just check if the reply matches the previous one to 100% and just choose to ignore it. I don’t know of any reason why someone would wantto put the exact same reply twice in a row. Maybe add a little timer so that after 2 minutes you can actually put it again in case someone really wants to spam, but elsewise that would at least be a fix.
Or another way is to generate a one time token when the user loads the page that gets invalidated when he makes a reply. As soon as he changes the page he will receive a new token. That will definitly prevent the double clicking as the first post either reaches the server and invalidates the token but the client tries to make a post again with the same token - or the first post doesn’t reach the server at all in which case the intended behaviour would be to accept it - which would happen.
Idk which one is easier to implement/better in the end though, just brainstorming here :P