From: <die...@us...> - 2011-04-22 13:18:37
|
Revision: 3428 http://openutils.svn.sourceforge.net/openutils/?rev=3428&view=rev Author: diego_schivo Date: 2011-04-22 13:18:31 +0000 (Fri, 22 Apr 2011) Log Message: ----------- CRIT-37 comma escape Modified Paths: -------------- trunk/openutils-mgnlcriteria/src/main/java/net/sourceforge/openutils/mgnlcriteria/jcr/query/xpath/utils/XPathTextUtils.java Modified: trunk/openutils-mgnlcriteria/src/main/java/net/sourceforge/openutils/mgnlcriteria/jcr/query/xpath/utils/XPathTextUtils.java =================================================================== --- trunk/openutils-mgnlcriteria/src/main/java/net/sourceforge/openutils/mgnlcriteria/jcr/query/xpath/utils/XPathTextUtils.java 2011-04-22 10:12:10 UTC (rev 3427) +++ trunk/openutils-mgnlcriteria/src/main/java/net/sourceforge/openutils/mgnlcriteria/jcr/query/xpath/utils/XPathTextUtils.java 2011-04-22 13:18:31 UTC (rev 3428) @@ -123,6 +123,10 @@ { encodedPath.append("_x0020_"); } + else if (!inXpathCondition && ch == ',') + { + encodedPath.append("_x002c_"); + } else { This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |