- 
    
Bug
 - 
    Resolution: Obsolete
 - 
    
Low
 - 
    None
 
- 
        Severity 2 - Major
 - 
        
 
Summary
Can't load/download/view attachments in knowledge base from Service Desk portal when the attachment has a space in the name. Example of attachment name: attachment 1.png. The endpoint is redirecting back to Confluence with incorrect path,
/wiki/download/thumbnails/84082689/Attachment+1.PNG?version=1&modificationDate=1520507194166&cacheVersion=1&api=v2&width=515&height=250
Steps to Reproduce
- Integrate a knowledge base to a service desk project.
 - Create a page and upload an attachment that has a space in the file name.
 - Load/Download/View the attachment from service desk portal.
 
Expected Results
- User should be able to load/download/view the attachment from the portal.
 
Actual Results
- Can't load/view the attachment, clicking on the attachment to download, it'll redirect to a page with 404 error.
 
Workaround
- Remove "api=v2" onwards from the path. Example of path:
/wiki/download/thumbnails/84082689/Attachment+1.PNG?version=1&modificationDate=1520507194166&cacheVersion=1&api=v2&width=515&height=250
.
Remove &api=v2&width=515&height=250 and enter the URL directly on a new tab to download the attachment. 
- relates to
 - 
                    
JSDCLOUD-5899 Image will not load on knowledge base article from the customer portal due to special characters (known failing when "[" and "]" are in the image filename)
-         
 - Closed
 
 -