Phuks-co / throat

Open Source link aggregator and discussion platform powering Phuks
https://phuks.co
MIT License
73 stars 32 forks source link

Check for too-long comment and post report reasons #244

Closed happy-river closed 3 years ago

happy-river commented 3 years ago

Choosing "Other" as a reason when reporting a post or comment, and then entering more than 128 characters of text causes an exception on the server and shows the user an "Error contacting the server" message. Fix this by checking the length of the input text and returning an error message if it is too long.