-
Type:
Bug
-
Resolution: Fixed
-
Priority:
Low
-
Affects Version/s: 9.3.0, 9.4.10, 9.12.15
-
Component/s: Issue - Attachments
-
9.03
-
7
-
Severity 3 - Minor
-
1
Issue Summary
This is reproducible on Data Center: yes
According to the official documentation, attachment names can't contain any of the characters below:
'\', '/','\"', '%', ':', '$', '?', '*'.
However, Jira allows adding attachments with names containing the above characters in specific scenario
Steps to Reproduce
Tested on Windows Server 2022, Windows Pro 11
When trying to add an attachment with unsupported characters in a filename by drag&drop or Browse dialog, Jira will expectedly throw the error like below:

But when using the following approach, Jira will add the attachment:
- Open up an issue in JIRA. The issue must have an attachment section.
- Open a Snipping Tool
- Take a picture snip
- At Snipping Tool, right-click on the image > Copy
- Go back to the JIRA issue with the attachment section.
- Using the keyboard, press CTRL+V.
- A dialog box appears

- Enter the name with unsupported characters into the 'File name' field and click Upload
Expected Results
Attachment is not added, and the error about the special characters (as above) is thrown
Actual Results
The attachment with unsupported characters is being added to the issue
For the attachments with any unsupported character in the filename, Jira will show the thumbnail in the Attachments section correctly
Attachments with characters:
'%', ':', '$', '?', '*'
can be viewed and downloaded without any issues
Attachments with characters
'/', '\'
show the below error when trying to open:
Also, these attachments can't be downloaded
Workaround
Avoid using special characters in attachment filenames
- is duplicated by
-
JRASERVER-77563 Copy and pasted images to issues containing a '/' (forward slash) cannot be viewed in GUI and they result in 400 errors (malformed request)
-
- Closed
-