Attachment Links are unavailable in Confluence with java.net.URISyntaxException exception thrown in the UI
問題
When clicking the link to an attachment, you are redirected to a 'Oops - an error has occurred page' with the following exception displayed on screen:
Caused by: java.lang.IllegalArgumentException: java.net.URISyntaxException: Illegal character in path at index 47: /confluence/download/attachments/xxx/xxx
診断
環境
- Network traffic goes through a proxy
Diagnostic Steps
- Bypass the proxy. If clicking the link takes you to the attachment, proceed with the resolution below.
原因
The proxy server is not configured correctly for URI encoding.
ソリューション
Ensure all steps listed in Proxying Atlassian server applications with Apache HTTP Server (mod_proxy_http) have been completed successfully, specially the ProxyPass and ProxyPassReverse directives. If using mod_jk, add the following option to your Apache mod_jk configuration:
JkOptions +ForwardURICompatUnparsed
最終更新日: 2016 年 10 月 19 日
Powered by Confluence and Scroll Viewport.