You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@roller.apache.org by sn...@apache.org on 2006/07/15 18:57:09 UTC

svn commit: r422267 - /incubator/roller/branches/roller_3.0/src/org/apache/roller/ui/rendering/filters/RefererFilter.java

Author: snoopdave
Date: Sat Jul 15 09:57:09 2006
New Revision: 422267

URL: http://svn.apache.org/viewvc?rev=422267&view=rev
Log:
Fixing compile problem

Modified:
    incubator/roller/branches/roller_3.0/src/org/apache/roller/ui/rendering/filters/RefererFilter.java

Modified: incubator/roller/branches/roller_3.0/src/org/apache/roller/ui/rendering/filters/RefererFilter.java
URL: http://svn.apache.org/viewvc/incubator/roller/branches/roller_3.0/src/org/apache/roller/ui/rendering/filters/RefererFilter.java?rev=422267&r1=422266&r2=422267&view=diff
==============================================================================
--- incubator/roller/branches/roller_3.0/src/org/apache/roller/ui/rendering/filters/RefererFilter.java (original)
+++ incubator/roller/branches/roller_3.0/src/org/apache/roller/ui/rendering/filters/RefererFilter.java Sat Jul 15 09:57:09 2006
@@ -31,6 +31,7 @@
 import org.apache.commons.logging.LogFactory;
 import org.apache.roller.business.referrers.IncomingReferrer;
 import org.apache.roller.business.referrers.ReferrerQueueManager;
+import org.apache.roller.config.RollerRuntimeConfig;
 import org.apache.roller.model.RollerFactory;
 import org.apache.roller.ui.core.RollerContext;
 import org.apache.roller.config.RollerConfig;
@@ -116,8 +117,8 @@
             RollerContext rctx = RollerContext.getRollerContext();
             
             // Base page URLs, with and without www.
-            String basePageUrlWWW =
-                    rctx.getAbsoluteContextUrl(request)+"/"+weblog.getHandle();
+            String basePageUrlWWW = 
+               RollerRuntimeConfig.getAbsoluteContextURL() + "/" + weblog.getHandle();
             String basePageUrl = basePageUrlWWW;
             if ( basePageUrlWWW.startsWith("http://www.") ) {
                 // chop off the http://www.