manifoldcf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kwri...@apache.org
Subject svn commit: r1352807 - /manifoldcf/trunk/connectors/filenet/connector/src/main/java/org/apache/manifoldcf/crawler/connectors/filenet/FilenetConnector.java
Date Fri, 22 Jun 2012 08:52:04 GMT
Author: kwright
Date: Fri Jun 22 08:52:03 2012
New Revision: 1352807

URL: http://svn.apache.org/viewvc?rev=1352807&view=rev
Log:
Minor escaping problem in FileNet paths

Modified:
    manifoldcf/trunk/connectors/filenet/connector/src/main/java/org/apache/manifoldcf/crawler/connectors/filenet/FilenetConnector.java

Modified: manifoldcf/trunk/connectors/filenet/connector/src/main/java/org/apache/manifoldcf/crawler/connectors/filenet/FilenetConnector.java
URL: http://svn.apache.org/viewvc/manifoldcf/trunk/connectors/filenet/connector/src/main/java/org/apache/manifoldcf/crawler/connectors/filenet/FilenetConnector.java?rev=1352807&r1=1352806&r2=1352807&view=diff
==============================================================================
--- manifoldcf/trunk/connectors/filenet/connector/src/main/java/org/apache/manifoldcf/crawler/connectors/filenet/FilenetConnector.java
(original)
+++ manifoldcf/trunk/connectors/filenet/connector/src/main/java/org/apache/manifoldcf/crawler/connectors/filenet/FilenetConnector.java
Fri Jun 22 08:52:03 2012
@@ -2046,9 +2046,10 @@ public class FilenetConnector extends or
           int j = 0;
           while (j < childList.length)
           {
-            String folder = org.apache.manifoldcf.ui.util.Encoder.attributeEscape(childList[j]);
+            String attrFolder = org.apache.manifoldcf.ui.util.Encoder.attributeEscape(childList[j]);
+            String bodyFolder = org.apache.manifoldcf.ui.util.Encoder.bodyEscape(childList[j]);
             out.print(
-"              <option value=\""+folder+"\">"+folder+"</option>\n"
+"              <option value=\""+attrFolder+"\">"+bodyFolder+"</option>\n"
             );
             j++;
           }



Mime
View raw message