13

When annotating a user account we have a total of 300 characters that we can use, however if the message contains carriage returns it fails each time with the Oops Something Bad Happened, even if there are characters remaining on the counter.

Steps to reproduce issue:

Write a long annotation message with carriage returns for example:

voting ring 
http://stackoverflow.com/users/xxxxxxx/userxxxxxxx, 
http://stackoverflow.com/users/xxxxxxx/xxxxxxxxxx, 
http://stackoverflow.com/users/xxxxxxx/userxxxxxxx, 
http://stackoverflow.com/users/xxxxxxx/xxxxx-xxxxxxxxxxx, 
http://stackoverflow.com/users/xxxxxxx/userxxxxxxx same IP diff email

The counter shows that there is 1 character left for the message. Upon hitting submit you will be directed to the Oops something bad happened error page.

However if you write the same message without the carriage returns the message is accepted without any issues.

Can this be fixed to strip the carriage returns or not throw an error when posting an annotation with it?

5
  • FWIW, you could just remove the username (the part after /users/xxx/) and the links would still work.
    – Doorknob
    Commented Apr 15, 2014 at 18:10
  • 1
    @Doorknob I know that but it is much easier to copy and paste the full link - less room for error - at least for me.
    – Taryn
    Commented Apr 15, 2014 at 18:12
  • On that topic, the maximum length could use being raised, precisely for this kind of situation (multiple links to relevant users or posts to illustrate a problematic pattern). Commented Apr 25, 2014 at 17:08
  • Is this still an issue today? Commented May 5, 2020 at 4:36
  • @SonictheStay-HomeHedgehog I can't reproduce it.
    – Glorfindel Mod
    Commented May 5, 2020 at 11:01

0

Browse other questions tagged .