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

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

KBA , LOD-SF-LMS-COR , LMS Core - Items, Catalog, Curricula , Problem

Product

SuccessFactors Learning 1207 ; SuccessFactors Learning 1210 ; SuccessFactors Learning 1302 ; SuccessFactors Learning 1305 ; SuccessFactors Learning 1308 ; SuccessFactors Learning 1311 ; SuccessFactors Learning 1405 ; SuccessFactors Learning 1408