svn commit: r935878 - in /axis/axis2/java/core/trunk/modules: kernel/src/org/apache/axis2/util/ webapp/src/main/webapp/axis2-web/

2010-04-20 Thread gdaniels
Author: gdaniels Date: Tue Apr 20 11:38:02 2010 New Revision: 935878 URL: http://svn.apache.org/viewvc?rev=935878&view=rev Log: Protect against potential XSS by sanitizing outputted user data. Modified: axis/axis2/java/core/trunk/modules/kernel/src/org/apache/axis2/util/Utils.java axis/

svn commit: r935846 - /axis/axis2/java/core/trunk/modules/kernel/src/org/apache/axis2/description/java2wsdl/DefaultSchemaGenerator.java

2010-04-20 Thread amilas
Author: amilas Date: Tue Apr 20 09:37:51 2010 New Revision: 935846 URL: http://svn.apache.org/viewvc?rev=935846&view=rev Log: if the package name is started with java.util then index of it returns 0 and hence the condition won't evaluate to false. It is enough to check index of < 0. Modified: