svn commit r18867 - trunk/mashup/java/modules/javascriptdeployer/src/org/wso2/mashup/deployer

View: New views
1 Messages — Rating Filter:   Alert me  

svn commit r18867 - trunk/mashup/java/modules/javascriptdeployer/src/org/wso2/mashup/deployer

by Channa Gunawardena-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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);
 

_______________________________________________
Mashup-dev mailing list
Mashup-dev@...
http://wso2.org/cgi-bin/mailman/listinfo/mashup-dev