3

On Stack Overflow, while adding a comment, there is a label showing information about the required content length under the comment text box.

If I type "If I type!", the label says "5 more to go" or so, I can add spaces to the end until the text changes to "585 characters left".

So I can now submit my comment, but if I do, I get the error message "Comments must be at least 15 characters in length".

One would expect spaces to be ignored or considered by both validators.

2
  • 7
    Maybe it is a feature (and not a bug) because SE team probably wants to annoy those who find petty ways to "game" the system :) Commented May 12, 2014 at 7:23
  • Probably KISS applies here, too. Being exact just to be exact does not warant the added complexity. Commented Aug 10, 2014 at 13:58

1 Answer 1

5

This is by design: Comment character counter does not trim, while the server does

We view this as intentionally gaming the character count, so my answer is "don't do that".

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .