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

"Invalid filename" Warning for Attachments Refers to Characters That Are Not in the Filename

    XMLWordPrintable

Details

    Description

      NOTE: This bug report is for JIRA Server. Using JIRA Cloud? See the corresponding bug report.

      Summary

      When warning users about restricted characters in an attachment filename, JIRA refers to characters that aren't actually in the name.

      Steps to Reproduce

      (example)

      1. Create an issue.
      2. Attempt to attach a file with name "test/test.txt"

      Expected Results

      An error message warning about / being a restricted character is displayed.

      Actual Results

      In the error message, the restricted character is replaced with a colon:

      Workaround

      Regardless of the content of the error message, remove all restricted characters (as listed in the documentation - Attaching a File): '\', '/','\"', '%', ':', '$', '?', '*' from the filename.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              bmagro Ben Magro
              Votes:
              1 Vote for this issue
              Watchers:
              9 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: