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
- Edit the description of an item
- Click on the add hyperlink button
- Enter a website
- Change the Target tab to be New Window
- 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