[Mashup-dev] svn commit r18867 - trunk/mashup/java/modules/javascriptdeployer/src/org/wso2/mashup/deployer
channa at wso2.com
channa at wso2.com
Fri Jul 4 04:40:17 PDT 2008
Author: channa
Date: Fri Jul 4 04:40:17 2008
New Revision: 18867
URL: http://wso2.org/svn/browse/wso2?view=rev&revision=18867
Log:
Added html sanitation at the point of writing the service description to the registry. MASHUP-873.
Modified:
trunk/mashup/java/modules/javascriptdeployer/src/org/wso2/mashup/deployer/JSDeployer.java
Modified: trunk/mashup/java/modules/javascriptdeployer/src/org/wso2/mashup/deployer/JSDeployer.java
URL: http://wso2.org/svn/browse/wso2/trunk/mashup/java/modules/javascriptdeployer/src/org/wso2/mashup/deployer/JSDeployer.java?rev=18867&r1=18866&r2=18867&view=diff
==============================================================================
--- trunk/mashup/java/modules/javascriptdeployer/src/org/wso2/mashup/deployer/JSDeployer.java (original)
+++ trunk/mashup/java/modules/javascriptdeployer/src/org/wso2/mashup/deployer/JSDeployer.java Fri Jul 4 04:40:17 2008
@@ -527,7 +527,8 @@
// We are adding/updating the registry with the service data here
String path =
MashupUtils.populateRegistry(configCtx, currentFile,
- axisService.getDocumentation(), name, false,
+ MashupUtils.sanitizeHtml(axisService.
+ getDocumentation()), name, false,
MashupConstants.MASHUP_MEDIA_TYPE,
JavaScriptEngineConstants.SERVICE_JS);
More information about the Mashup-dev
mailing list