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

製品リレーションタイプの特殊文字検証

Written By

Kanchan Bisht

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.

問題

  • 特殊文字は使用できません。
  • 再現の手順
    1. システム設定 -> カタログ -> 商品関係
    2. <script>alert(1);</script>"
    3.
    4.
    5. Product Relation
    Observed Behaviorをクリックします: スクリプトが実行され、フロントエンドでエラーがスローされます。
    期待される動作 コントロールパネルの設定から特殊文字を保存できないようにする。

Environment

  • Liferay DXP 7.4
  • Commerce 4.0

解決策

  • 観測された動作はコマース4.0の既知のバグであり、 update 83 以上で対処されている。
    • 新しい値は、それが特殊文字を持っているかどうかに関係なく保存されますが、入力はサニタイズされ、製品関係を表示または追加すると、期待どおりに動作することに注意してください。

追加情報

  • Hotfixが必要な場合は、Hotfixを要求するサポートチケットを作成し、パッチの詳細とこの問題を解決する チケット を添付してください。
  • Liferay DXPへのFix PackとHotfixのインストール FixpackやHotfixをお使いの環境にインストールする方法をご案内します。
Did this article resolve your issue ?

Legacy Knowledge Base