SmartIT removes the text enclosed within brackets '<  >' including the brackets

Version 7
    Share This:

    This document contains official content from the BMC Software Knowledge Base. It is automatically updated when the knowledge article is modified.


    PRODUCT:

    Remedy with Smart IT


    COMPONENT:

    Remedy with Smart IT


    APPLIES TO:

    2.X, 18.X,19.X



    PROBLEM:

    SmartIT removes the text enclosed within brackets '<  >' including the brackets.
    For e.g., a statement like  " <test> testing <test> "  will appear as " testing "

     


    CAUSE:

    As design


    SOLUTION:

    Engineering confirms this behavior to be working 'by design'.
    It comes under the usecase of special characters which are not as per the security specification. Smart IT uses the XSSPrevention with JSOUP.

    In case an organization still wants to use such a string (included within special chars < >), then it can be done by following below steps,

    1. take a back up of web.xml file 
    Till 2.0 version: location -   .../Smart_IT_MyIT/Smart_IT_MyIT/ux/WEB-INF/web.xml
    For version greater than 2.0-   /Smart_IT/Smart_IT/smartit/WEB-INF/web.xml

    2. update web.xml file parameter "isJSOUPEnabled"

    FROM
        <context-param>
            <param-name>isJSOUPEnabled</param-name>
            <param-value>true</param-value>
        </context-param>

    TO
         <context-param>
            <param-name>isJSOUPEnabled</param-name>
            <param-value>false</param-value>
        </context-param>

    3. Restart Smart It services

    4. test the behavior and confirm results.


    Article Number:

    000159931


    Article Type:

    Solutions to a Product Problem



      Looking for additional information?    Search BMC Support  or  Browse Knowledge Articles