Skip to main content
edited tags
Link
Oded StaffMod
  • 498.3k
  • 40
  • 279
  • 255
added 28 characters in body; edited tags; edited title
Source Link
Aziz Shaikh
  • 16.5k
  • 1
  • 46
  • 54

Inconsistency in validating the required comment length

On StackOverflowStack Overflow, Whenwhile adding a comment, under the text box there is a label showing infomrationinformation 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 charachterscharacters in lengthlength".

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

Inconsistency validating required comment length

On StackOverflow, When adding a comment, under the text box there is a label showing infomration about the length.

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 charachters in length.

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

Inconsistency in validating the required comment length

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.

Source Link
AHH
  • 1.1k
  • 5
  • 1

Inconsistency validating required comment length

On StackOverflow, When adding a comment, under the text box there is a label showing infomration about the length.

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 charachters in length.

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