6

The real-time character counter on the moderator nominations page claims I have 9 characters left. The non-real-time counter claims I have too many characters. PHP says that the non-real-time counter is correct, so why is the real-time counter so off?

Nomination character count bug

  • Are you still working on that thing? :) – Robert Harvey Jun 6 '12 at 3:14
  • @RobertHarvey: Have been for the past 6 months ;) – Ry- Jun 6 '12 at 3:15
6

Great find and thanks for posting a screenshot that allowed me to recreate your input exactly.

The client javascript code is using \n line endings, while the server is using \r\n, causing this count discrepancy.

A fix that normalizes the endings before doing both client and server validation will be pushed in the next build, after rev 2012.6.6.2800.

You must log in to answer this question.

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