manifoldcf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kwri...@apache.org
Subject svn commit: r1752243 - in /manifoldcf/trunk: CHANGES.txt connectors/confluence/connector/src/main/java/org/apache/manifoldcf/crawler/connectors/confluence/model/Page.java
Date Tue, 12 Jul 2016 06:13:39 GMT
Author: kwright
Date: Tue Jul 12 06:13:39 2016
New Revision: 1752243

URL: http://svn.apache.org/viewvc?rev=1752243&view=rev
Log:
Fix for CONNECTORS-1326. Committed on behalf of Chalitha Perera.

Modified:
    manifoldcf/trunk/CHANGES.txt
    manifoldcf/trunk/connectors/confluence/connector/src/main/java/org/apache/manifoldcf/crawler/connectors/confluence/model/Page.java

Modified: manifoldcf/trunk/CHANGES.txt
URL: http://svn.apache.org/viewvc/manifoldcf/trunk/CHANGES.txt?rev=1752243&r1=1752242&r2=1752243&view=diff
==============================================================================
--- manifoldcf/trunk/CHANGES.txt (original)
+++ manifoldcf/trunk/CHANGES.txt Tue Jul 12 06:13:39 2016
@@ -3,6 +3,9 @@ $Id$
 
 ======================= 2.5-dev =====================
 
+CONNECTORS-1326: Fix URL for Confluence documents.
+(Chalitha Perera)
+
 CONNECTORS-1325: Deal with SharePoint bad XML when document has 
 optional plane utf-16 characters.  Documents with these are skipped
 since Java can't represent them either.

Modified: manifoldcf/trunk/connectors/confluence/connector/src/main/java/org/apache/manifoldcf/crawler/connectors/confluence/model/Page.java
URL: http://svn.apache.org/viewvc/manifoldcf/trunk/connectors/confluence/connector/src/main/java/org/apache/manifoldcf/crawler/connectors/confluence/model/Page.java?rev=1752243&r1=1752242&r2=1752243&view=diff
==============================================================================
--- manifoldcf/trunk/connectors/confluence/connector/src/main/java/org/apache/manifoldcf/crawler/connectors/confluence/model/Page.java
(original)
+++ manifoldcf/trunk/connectors/confluence/connector/src/main/java/org/apache/manifoldcf/crawler/connectors/confluence/model/Page.java
Tue Jul 12 06:13:39 2016
@@ -291,7 +291,7 @@ public class Page extends ConfluenceReso
           String webUrl = (String) links.optString(KEY_WEBUI, "");
           page.urlContext = (String) links.optString(KEY_CONTEXT, "");
           page.baseUrl = (String) links.optString(KEY_BASE, "");
-          page.webUrl = page.baseUrl + page.urlContext + webUrl;
+          page.webUrl = page.baseUrl + webUrl;
 
         }
 



Mime
View raw message