manifoldcf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kwri...@apache.org
Subject svn commit: r1678329 - /manifoldcf/trunk/connectors/filesystem/connector/src/main/java/org/apache/manifoldcf/agents/output/filesystem/FileOutputConnector.java
Date Fri, 08 May 2015 11:02:26 GMT
Author: kwright
Date: Fri May  8 11:02:26 2015
New Revision: 1678329

URL: http://svn.apache.org/r1678329
Log:
Another fix for CONNECTORS-1197

Modified:
    manifoldcf/trunk/connectors/filesystem/connector/src/main/java/org/apache/manifoldcf/agents/output/filesystem/FileOutputConnector.java

Modified: manifoldcf/trunk/connectors/filesystem/connector/src/main/java/org/apache/manifoldcf/agents/output/filesystem/FileOutputConnector.java
URL: http://svn.apache.org/viewvc/manifoldcf/trunk/connectors/filesystem/connector/src/main/java/org/apache/manifoldcf/agents/output/filesystem/FileOutputConnector.java?rev=1678329&r1=1678328&r2=1678329&view=diff
==============================================================================
--- manifoldcf/trunk/connectors/filesystem/connector/src/main/java/org/apache/manifoldcf/agents/output/filesystem/FileOutputConnector.java
(original)
+++ manifoldcf/trunk/connectors/filesystem/connector/src/main/java/org/apache/manifoldcf/agents/output/filesystem/FileOutputConnector.java
Fri May  8 11:02:26 2015
@@ -643,7 +643,7 @@ public class FileOutputConnector extends
     boolean endsWithSlash = false;
     if (uri.getScheme() != null) {
       path.append(uri.getScheme());
-      path.append("_");
+      path.append("/");
       endsWithSlash = true;
     }
 
@@ -656,7 +656,7 @@ public class FileOutputConnector extends
       }
       if (uri.getRawPath() != null) {
         if (uri.getRawPath().length() == 0) {
-          path.append("_");
+          path.append("/");
           endsWithSlash = true;
         } else if (uri.getRawPath().equals("/")) {
           path.append(uri.getRawPath());
@@ -664,7 +664,7 @@ public class FileOutputConnector extends
         } else {
           for (String name : uri.getRawPath().split("/")) {
             if (name.length() > 0) {
-              path.append("_");
+              path.append("/");
               path.append(convertWindowsString(name));
               endsWithSlash = false;
             }
@@ -672,7 +672,7 @@ public class FileOutputConnector extends
         }
       }
       if (uri.getRawQuery() != null) {
-        path.append("_");
+        path.append("/");
         path.append(convertWindowsString(uri.getRawQuery()));
         endsWithSlash = false;
       }
@@ -680,7 +680,7 @@ public class FileOutputConnector extends
       if (uri.getRawSchemeSpecificPart() != null) {
         for (String name : uri.getRawSchemeSpecificPart().split("/")) {
           if (name.length() > 0) {
-            path.append("_");
+            path.append("/");
             path.append(convertWindowsString(name));
             endsWithSlash = false;
           }



Mime
View raw message