Author: itthkjer
Date: 2006-05-05 15:32:49 +0200 (Fri, 05 May 2006)
New Revision: 2864
Modified:
trunk/src/java/no/schibstedsok/front/searchportal/result/Linkpulse.java
Log:
last merge from 2.0
Modified:
trunk/src/java/no/schibstedsok/front/searchportal/result/Linkpulse.java
===================================================================
--- trunk/src/java/no/schibstedsok/front/searchportal/result/Linkpulse.java
2006-05-05 13:31:42 UTC (rev 2863)
+++ trunk/src/java/no/schibstedsok/front/searchportal/result/Linkpulse.java
2006-05-05 13:32:49 UTC (rev 2864)
@@ -41,8 +41,11 @@
toUrl = toUrl + attrArr[0] + "=" + attrArr[1];
}
- //adds the original url
- toUrl = toUrl + "/" + props.getProperty("linkpulse.sesam") +
orgUrl;
+ //adds to-url, if to-url links to external site we must drop
linkpulse.sesam
+ if (indexpage.equals("ext"))
+ toUrl = toUrl + "/" + orgUrl;
+ else
+ toUrl = toUrl + "/" + props.getProperty("linkpulse.sesam") +
orgUrl;
} else
if (indexpage.equals("true"))
toUrl = "search/" + orgUrl;
_______________________________________________
Kernel-commits mailing list
[email protected]
http://sesat.no/mailman/listinfo/kernel-commits