manifoldcf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kwri...@apache.org
Subject svn commit: r1493717 - /manifoldcf/trunk/connectors/solr/connector/src/main/java/org/apache/manifoldcf/agents/output/solr/ModifiedHttpMultipart.java
Date Mon, 17 Jun 2013 11:32:39 GMT
Author: kwright
Date: Mon Jun 17 11:32:39 2013
New Revision: 1493717

URL: http://svn.apache.org/r1493717
Log:
Modify STRICT mode to encode field values with passed-in character set.  Hopefully this finishes
CONNECTORS-623.

Modified:
    manifoldcf/trunk/connectors/solr/connector/src/main/java/org/apache/manifoldcf/agents/output/solr/ModifiedHttpMultipart.java

Modified: manifoldcf/trunk/connectors/solr/connector/src/main/java/org/apache/manifoldcf/agents/output/solr/ModifiedHttpMultipart.java
URL: http://svn.apache.org/viewvc/manifoldcf/trunk/connectors/solr/connector/src/main/java/org/apache/manifoldcf/agents/output/solr/ModifiedHttpMultipart.java?rev=1493717&r1=1493716&r2=1493717&view=diff
==============================================================================
--- manifoldcf/trunk/connectors/solr/connector/src/main/java/org/apache/manifoldcf/agents/output/solr/ModifiedHttpMultipart.java
(original)
+++ manifoldcf/trunk/connectors/solr/connector/src/main/java/org/apache/manifoldcf/agents/output/solr/ModifiedHttpMultipart.java
Mon Jun 17 11:32:39 2013
@@ -190,7 +190,7 @@ public class ModifiedHttpMultipart {
             switch (mode) {
             case STRICT:
                 for (MinimalField field: header) {
-                    writeField(field, out);
+                    writeField(field, this.charset, out);
                 }
                 break;
             case BROWSER_COMPATIBLE:



Mime
View raw message