Author: kwright
Date: Tue Sep 23 10:26:51 2014
New Revision: 1626976
URL: http://svn.apache.org/r1626976
Log:
Fix for CONNECTORS-1043.
Modified:
manifoldcf/branches/release-1.7-branch/CHANGES.txt
manifoldcf/branches/release-1.7-branch/connectors/sharepoint/connector/src/main/java/org/apache/manifoldcf/crawler/connectors/sharepoint/SharePointRepository.java
Modified: manifoldcf/branches/release-1.7-branch/CHANGES.txt
URL:
http://svn.apache.org/viewvc/manifoldcf/branches/release-1.7-branch/CHANGES.txt?rev=1626976&r1=1626975&r2=1626976&view=diff
==============================================================================
--- manifoldcf/branches/release-1.7-branch/CHANGES.txt (original)
+++ manifoldcf/branches/release-1.7-branch/CHANGES.txt Tue Sep 23 10:26:51 2014
@@ -2,6 +2,9 @@ ManifoldCF Change Log
$Id$
+CONNECTORS-1043: Fix list item URL.
+(Lalit Jangra, Karl Wright)
+
======================= Release 1.7.1 =====================
CONNECTORS-1041: Livelink connector should force HTTPS off when
Modified:
manifoldcf/branches/release-1.7-branch/connectors/sharepoint/connector/src/main/java/org/apache/manifoldcf/crawler/connectors/sharepoint/SharePointRepository.java
URL:
http://svn.apache.org/viewvc/manifoldcf/branches/release-1.7-branch/connectors/sharepoint/connector/src/main/java/org/apache/manifoldcf/crawler/connectors/sharepoint/SharePointRepository.java?rev=1626976&r1=1626975&r2=1626976&view=diff
==============================================================================
---
manifoldcf/branches/release-1.7-branch/connectors/sharepoint/connector/src/main/java/org/apache/manifoldcf/crawler/connectors/sharepoint/SharePointRepository.java
(original)
+++
manifoldcf/branches/release-1.7-branch/connectors/sharepoint/connector/src/main/java/org/apache/manifoldcf/crawler/connectors/sharepoint/SharePointRepository.java
Tue Sep 23 10:26:51 2014
@@ -1465,7 +1465,7 @@ public class SharePointRepository extend
String encodedItemPath =
encodePath(decodedListPath.substring(0,listCutoff) + "/Lists/" +
decodedItemPath.substring(listCutoff+1));
// Generate the URL we are going to use
- String itemUrl = fileBaseUrl + relURL; //fileBaseUrl +
encodedItemPath;
+ String itemUrl = serverUrl + relURL; //fileBaseUrl +
encodedItemPath;
if (Logging.connectors.isDebugEnabled())
Logging.connectors.debug( "SharePoint: Processing list item
'"+documentIdentifier+"'; url: '" + itemUrl + "'" );