My company is struggling with strange attachments problem. Maybe solution is simple, I don't know. The steps are as follows:
1) Create issue in customer portal with attachment. Attachment should have spaces in it's name.
2) Go to this issue as customer and try to open the attachment from the comments section. It opens up just fine.
3) Try to open the same attachment from Attachments field (on the right). You'll get forbidden (403) page.
I think the problem is with url translation.
This is the url from comments section:
https://jira.domain.com/servicedesk/customershim/secure/attachment/16215/16215_my+file.pdf?fromIssue=26830
This is the url from Attachments field:
https://jira.domain.com/servicedesk/customershim/secure/attachment/16215/16215_my%20file.pdf?fromIssue=26830
The funny thing is that if I assign user to jira-administrators group, opening attachment from Attachments field works just fine...
Has anyone encountered a similar problem? Any help would be much appreciated.