SAP Knowledge Base Article - Public

2138969 - Error in SuccessFactors Learning: HTML Text entered did not pass AntiSamy validation

Symptom

While adding hyperlinks to item descriptions you may receive a popup of the error:

  • HTML Text entered did not pass AntiSamy validation

Environment

SAP SuccessFactors Learning

Reproducing the Issue

  1. Edit the description of an item
  2. Click on the add hyperlink button
  3. Enter a website
  4. Change the Target tab to be New Window
  5. Click Save and Close or Save to see the error

Cause

  • AntiSamy is used to enforce more restrictive limits on data used in HTML
  • This is meant to prevent potentially malicious data from entering the system

Resolution

  • You can choose to not change the target for the url, leaving the target as the default <not set>
  • You may also choose to disable AntiSamy
  • The system has other measures to protect against malicious attacks so if necessary there is the option to turn AntiSamy off
  • To turn this feature on or off you may change the following configuration
    • System Admin > Configuration > System Configuration > Web_Security > enableAntiSamyForHTMLContent

Keywords

HTML Text entered did not pass AntiSamy validation connector lms validation exception sf item , KBA , LOD-SF-LMS-CON , Connectors , LOD-SF-LMS-ITE , Items , Problem

Product

SAP SuccessFactors Learning all versions