pokemontrades / flairhq

A small project to allow easy adding of flair applications for subreddits (focusing initially on /r/pokemontrades) and easy moderation for moderators.
Apache License 2.0
11 stars 9 forks source link

Limit size of user introduction to 10 000 chars #629

Closed robdy closed 6 years ago

robdy commented 6 years ago

From what I tested: if someone edit HTML and try to send it, it won't send "intro" param with the request which is good enough I think.

Again, error in controller is a bit redundant as I was never able to get it (I assume it might be useful if someone tries to hack the app and send request by himself but I wasn't testing it).

Resolves #50

Edit: I wasn't adding wrap for non-space-extremely-long-words but if we really want it I can look at this.

robdy commented 6 years ago

Counter added:

image

Btw, I also updated script to change sub names as it was overwriting files in .git folder which resulted in error while trying to commit.