Legacy Knowledge Base
公開されました Jun. 30, 2025

空白を含む文書名に'+'を使用したURLが404エラーを返す

Written By

Dia Seung

How To articles are not official guidelines or officially supported documentation. They are community-contributed content and may not always reflect the latest updates to Liferay DXP. We welcome your feedback to improve How To articles!

While we make every effort to ensure this Knowledge Base is accurate, it may not always reflect the most recent updates or official guidelines.We appreciate your understanding and encourage you to reach out with any feedback or concerns.

Legacy Article

You are viewing an article from our legacy "FastTrack" publication program, made available for informational purposes. Articles in this program were published without a requirement for independent editing or verification and are provided"as is" without guarantee.

Before using any information from this article, independently verify its suitability for your situation and project.

問題

  • 名前にスペースが含まれている文書へのリンクをクリックし、URLの空白に'+'が含まれている場合、次のようになります。
    https://www.sample.com/documents/123456/654321/Sample+Document.pdf
    ドキュメントの代わりに404エラーページが表示されます。
  • URLは、次のように'+'を'%20'に置き換えると機能する。
    https://www.sample.com/documents/123456/654321/Sample%20Document.pdf
  • Liferayによって生成されたドキュメントの最新バージョンのURLには、空白の代わりに'+'ではなく'%20'があります。

環境

  • DXP 7.3: U35以下
  • 四半期リリース2023.Q3

解像度

  • これはLPS-191375によって修正された。
    • DXP 7.3を使用している場合は、U36以上にアップグレードするか、サポートチケットでLPS-191375の修正を含むHotfixをリクエストしてください。
    • Quarterlyリリースを使用している場合は、2023.Q3.1以降にアップグレードするか、サポートチケットでLPS-191375の修正を含むHotfixをリクエストしてください。

追加情報

Did this article resolve your issue ?

Legacy Knowledge Base