SAP Knowledge Base Article - Public

2290923 - Learning: Validation Error message when removing attachment from Notification

Symptom

  • Error: Validation Error

You must correct the following error(s) before proceeding:

The input data has failed to pass the security checks:
The "<img>" tag not allowed.
  • Validation error when removing attachment from notification template in item

Environment

Learning Mangement System

Reproducing the Issue

  1. Log in to system
  2. Search for any item or schedule offering
  3. Click on “Related”, then go to “Notifications”
  4. Locate existing attachment in the notification mail template
  5. Now, click on “Clear The Attachment”

Cause

  • The error is a "Validation error" which means there are no attachments in notification and when you click on clear attachment.
  • If an attachment is available for notification then you can see value under "Current Attachment".

Resolution

In order for images to display in your html code, you must enable this capability from:

System Admin->Configuration->System Configuration->Web Security.
You will need to replace img in thesecRules.imgtag.regexp property to garbled text.
The line should read line should read:
secRules.imgtag.regexp=m/<sdfsdfsfsfd\\s*src.*>/i
instead of:
secRules.imgtag.regexp=m/<img\\s*src.*>/i

 

 

 

Keywords

validation error, notification, attachment, the input data has failed to pass the security checks, the "<img>" tag not allowed. , KBA , LOD-SF-LMS , Learning Management System , Problem

Product

SAP SuccessFactors Learning 1602