Attachment Links are unavailable in Confluence with java.net.URISyntaxException exception thrown in the UI
プラットフォームについて: Data Center のみ。 - This article only applies to Atlassian apps on the Data Center プラットフォーム。
この KB は Data Center バージョンの製品用に作成されています。Data Center 固有ではない機能の Data Center KB は、製品のサーバー バージョンでも動作する可能性はありますが、テストは行われていません。 Server* 製品のサポートは 2024 年 2 月 15 日に終了しました。Server 製品を実行している場合は、 アトラシアン Server サポート終了 のお知らせにアクセスして、移行オプションを確認してください。
*Fisheye および Crucible は除く
要約
問題
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
診断ステップ
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この内容はお役に立ちましたか?