manifoldcf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kwri...@apache.org
Subject svn commit: r1799562 - /manifoldcf/trunk/connectors/solr/connector/src/main/java/org/apache/manifoldcf/agents/output/solr/ModifiedHttpSolrClient.java
Date Thu, 22 Jun 2017 11:04:44 GMT
Author: kwright
Date: Thu Jun 22 11:04:44 2017
New Revision: 1799562

URL: http://svn.apache.org/viewvc?rev=1799562&view=rev
Log:
More name stuffing work

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

Modified: manifoldcf/trunk/connectors/solr/connector/src/main/java/org/apache/manifoldcf/agents/output/solr/ModifiedHttpSolrClient.java
URL: http://svn.apache.org/viewvc/manifoldcf/trunk/connectors/solr/connector/src/main/java/org/apache/manifoldcf/agents/output/solr/ModifiedHttpSolrClient.java?rev=1799562&r1=1799561&r2=1799562&view=diff
==============================================================================
--- manifoldcf/trunk/connectors/solr/connector/src/main/java/org/apache/manifoldcf/agents/output/solr/ModifiedHttpSolrClient.java
(original)
+++ manifoldcf/trunk/connectors/solr/connector/src/main/java/org/apache/manifoldcf/agents/output/solr/ModifiedHttpSolrClient.java
Thu Jun 22 11:04:44 2017
@@ -302,7 +302,7 @@ public class ModifiedHttpSolrClient exte
     final StringBuilder sb = new StringBuilder();
     for (int i = 0; i < headerName.length(); i++) {
       final char x = headerName.charAt(i);
-      if (x == '"' || x == '\\') {
+      if (x == '"' || x == '\\' || x == '\r') {
         sb.append("\\");
       }
       sb.append(x);



Mime
View raw message