manifoldcf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kwri...@apache.org
Subject svn commit: r1524594 - /manifoldcf/trunk/connectors/sharepoint/connector/src/main/java/org/apache/manifoldcf/crawler/connectors/sharepoint/SharePointRepository.java
Date Wed, 18 Sep 2013 22:17:30 GMT
Author: kwright
Date: Wed Sep 18 22:17:30 2013
New Revision: 1524594

URL: http://svn.apache.org/r1524594
Log:
Fix bad list item urls

Modified:
    manifoldcf/trunk/connectors/sharepoint/connector/src/main/java/org/apache/manifoldcf/crawler/connectors/sharepoint/SharePointRepository.java

Modified: manifoldcf/trunk/connectors/sharepoint/connector/src/main/java/org/apache/manifoldcf/crawler/connectors/sharepoint/SharePointRepository.java
URL: http://svn.apache.org/viewvc/manifoldcf/trunk/connectors/sharepoint/connector/src/main/java/org/apache/manifoldcf/crawler/connectors/sharepoint/SharePointRepository.java?rev=1524594&r1=1524593&r2=1524594&view=diff
==============================================================================
--- manifoldcf/trunk/connectors/sharepoint/connector/src/main/java/org/apache/manifoldcf/crawler/connectors/sharepoint/SharePointRepository.java
(original)
+++ manifoldcf/trunk/connectors/sharepoint/connector/src/main/java/org/apache/manifoldcf/crawler/connectors/sharepoint/SharePointRepository.java
Wed Sep 18 22:17:30 2013
@@ -1278,7 +1278,7 @@ public class SharePointRepository extend
               
               int cutoff = decodedListPath.lastIndexOf("/");
 
-              String encodedItemPath = encodePath(decodedListPath.substring(cutoff) + "/Lists/"
+ decodedItemPath.substring(cutoff+1));
+              String encodedItemPath = encodePath(decodedListPath.substring(0,cutoff) + "/Lists/"
+ decodedItemPath.substring(cutoff+1));
 
               int listCutoff = decodedListPath.lastIndexOf( "/" );
               String site = decodedListPath.substring(0,listCutoff);



Mime
View raw message