Description of problem:
When doc id contains special characters that needs to be url encoded, the link in editor will break.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Upload a file with path including special url unfriendly characters such as C:\My Documents\hello.txt
2. Go to editor can click on the .txt or .po link to download
404 not found
Download successful. Same as clicking on files page outside of editor.
For an live example, see https://translate.zanata.org/zanata/webtrans/translate?project=ZAT1&iteration=ZAT_1.0&localeId=fr&locale=en
Workaround exists: Find the document via the project-version document list and download it from there
Sounds like a symptom of https://bugzilla.redhat.com/show_bug.cgi?id=1123163
Workaround exists so lower the priority
VERIFIED with Zanata 3.7.0-SNAPSHOT (git-jenkins-zanata-server-github-pull-requests-3634)