Uploaded image for project: 'Jira Data Center'
  1. Jira Data Center
  2. JRASERVER-69261

using backslash and At "\@" character in string input to comment is truncating the slash

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Timed out
    • Icon: Low Low
    • None
    • 7.9.2, 8.1.0
    • Issue - Comments
    • None

      Summary

      When inputing a string value in a comment that contains a backslash "\" character before an "@" character the backslash is removed, this is impactful if attempting to input a file path as a comment where the file contains the @ character in the path exe:

      \\127.0.0.1\path\to\file\@_in_pathname\example.txt

      the \ before the @ is truncated

      Environment

      • Jira Cloud and Jira Server 8.1.0

      Steps to Reproduce

      1. Type the following in a text field outside a code block and post, EXE: Comment on issue
        \@
        

      Expected Results

      comment displays

      \@
      

      Actual Results

      comment displays only the "@" as the slash is truncated like the following which does include a backslash but will not render noting https://jira.atlassian.com is currently affected on 8.1.0:
      "@"

      Notes

      Does not affect other Special characters and seems to be limited to the backslash character speciffically "\", tested with:

      ` ~ ! # $ % ^ & * ( ) ; : ' " / . > , <
      

      Text Entered:

      Workaround

      Add the string value to a "code" macro or "noformat" macro and the backslash will not be removed

              Unassigned Unassigned
              emccutcheon Earl McCutcheon (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: