Jump to content
  • Sign in to follow this  

    sm_ct reason is garbled if it contains an apostrophe


    thorgot
    • Pending

    If you restrict someone with a reason which contains an apostrophe the reason becomes garbled and usually gets cut off due to the limited reason length.

     

    For example, if you were to run

     

    sm_ct thorgot 20 didn't respect mah authoritah

     

    The reason would become something like

     

    didn\\\\\\\\\\\\\\\\\\\\\\\\'t r

     

    This has something to do with the way it is escaping the apostrophe. I would suggest to just strip apostrophes from the reason because fixing the way it escapes apostrophes would probably be more difficult.

    Sign in to follow this  


    User Feedback

    Recommended Comments



    Join the conversation

    You can post now and register later. If you have an account, sign in now to post with your account.
    Note: Your post will require moderator approval before it will be visible.

    Guest
    Add a comment...

    ×   Pasted as rich text.   Restore formatting

      Only 75 emoji are allowed.

    ×   Your link has been automatically embedded.   Display as a link instead

    ×   Your previous content has been restored.   Clear editor

    ×   You cannot paste images directly. Upload or insert images from URL.


  • Status Definitions

    Pending = We are awaiting confirmation on this report.

    Fixed = The issue has been fixed.

    Closed = Feedback or opinion better posted on our forum for discussion. Also for reports we cannot reproduce or need more information. In this case just add a comment and we will review it again.

×
×
  • Create New...