When you are writing a comment, type something with 14 characters. It will tell you that you need one more at least. Leave a space. It will look like you can post the comment. Try posting it, it says you can't. But according to the counter just below the text-area, you should be fine.

share|improve this question
    
because they are trimming the text? –  DarthVader Jan 20 '13 at 19:19
    
@DarthVader Still.. –  Koray Tugay Jan 20 '13 at 19:19
    
Still what? if they dont trim the text, u can put 15 empty space. –  DarthVader Jan 20 '13 at 19:20
    
Still, it is a bug. –  Koray Tugay Jan 20 '13 at 19:21
    
no it s not. why would it be bug? –  DarthVader Jan 20 '13 at 19:22
    
Ok whatever, if you say so.. –  Koray Tugay Jan 20 '13 at 19:22
    
put 15 space and try to submit. –  DarthVader Jan 20 '13 at 19:23
add comment

migrated from stackoverflow.com Jan 21 '13 at 1:14

This question came from our site for professional and enthusiast programmers.

2 Answers

up vote 2 down vote accepted

Add your feedback at http://meta.stackoverflow.com/

IF you find something security related, do not disclose it publicly. Instead report it at http://stackoverflow.com/help/security

From: http://stackoverflow.com/help/feedback

share|improve this answer
add comment

The message showing the number of characters that are still necessary to reach the minimum comment length, or the number of characters that you can still type is shown on browser side, while the validation of the comment is done server-side.

The error message could be changed as the following, but then it should list all the characters that are removed.

Comments must be at least 15 characters in length. Trailing spaces are removed.

For example, 15 spaces followed by a back-tick still cause the error to appear.

Probably the message should be similar to the following one, if it needs to really be changed.

Comments must be at least 15 characters in length. Some characters are not considered when calculating the comment lenght.

share|improve this answer
    
Surely javascript has a :strip" function that can be applied before the "count" function - so that it will accurately determine the real allowed character length? –  Taryn East Jan 21 '13 at 2:09
    
It is more complicated than removing some characters from the end of the comment. Plus, parsing the comment is done server-side. –  kiamlaluno Jan 21 '13 at 2:18
add comment

You must log in to answer this question.