script tag is not accepting in wcs7 management center in E-mail activity content, how to achieve this??
i would like to add a js file in email content
for that am using tag
but management center not accepting script word
giving error like script is a prohibited characters
This restriction has been done to protect the application from XSS attack ( cross site scripting ).
You can try by disabling XSS protection.
Steps
Open the following file:
LOBTools.war/WEB-INF/web.xml
WebSphere Commerce Developer LOBTools/WebContent/WEB-INF/web.xml
See Management Center Web application file locations for more information.
Search for and remove the following snippet:
com.ibm.commerce.security.crosssitescriptingprovider
com.ibm.commerce.foundation.internal.client.security.impl. ClassicCommerceCrossSiteScriptingProviderImpl
Save your changes and close the file.
Deploy your changes.
But please keep in mind that by doing so you are making your app vulnerable to XSS attack.