Details
-
Bug
-
Resolution: Unresolved
-
Low
-
None
-
7.5.0, 7.6.6
-
None
-
7.05
-
2
-
Severity 3 - Minor
-
0
-
Description
Issue Summary
Using square brackets in the file name will cause the generated link to be broken after upload.
Environment
-
Steps to Reproduce
- Create an attachment with square bracket (" [ " & " ] ").
- While commenting on an issue, upload the attachment.
- You will see the link is broken as shown in Actual Results.
Expected Results
Actual Results
Notes
- The file gets uploaded nonetheless.
- This is no filename spaces bug regression as an attachment with spaces in their name attached fine:
Workaround
Workaround 1
Use another markup syntax but escaping the square bracket with a backslash symbol:
[filename to be displayed by escaping the square bracket | link to the file by copy-paste from the attachment section]
Example:
[some file with \[square bracket\].msg|http://baseURL/secure/attachment/12345/some%20file%20with%20%5Bsquare%20bracket%5D.msg]
Workaround 2
Upgrade to JIRA 7.13.4 (tested alright) and above.
Attachments
Issue Links
- was cloned as
-
JRACLOUD-74271 Using square bracket in file name will cause the generated link to be broken after upload
- Closed