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/05/12 20:39:10 UTC

svn commit: r405828 - /incubator/roller/trunk/src/org/apache/roller/presentation/weblog/tags/ShowEntryTextTag.java

Author: snoopdave
Date: Fri May 12 11:39:07 2006
New Revision: 405828

URL: http://svn.apache.org/viewcvs?rev=405828&view=rev
Log:
use correct form of getAbsoulteContextURL() every where -- fixes intermittent emoticons bug

Modified:
    incubator/roller/trunk/src/org/apache/roller/presentation/weblog/tags/ShowEntryTextTag.java

Modified: incubator/roller/trunk/src/org/apache/roller/presentation/weblog/tags/ShowEntryTextTag.java
URL: http://svn.apache.org/viewcvs/incubator/roller/trunk/src/org/apache/roller/presentation/weblog/tags/ShowEntryTextTag.java?rev=405828&r1=405827&r2=405828&view=diff
==============================================================================
--- incubator/roller/trunk/src/org/apache/roller/presentation/weblog/tags/ShowEntryTextTag.java (original)
+++ incubator/roller/trunk/src/org/apache/roller/presentation/weblog/tags/ShowEntryTextTag.java Fri May 12 11:39:07 2006
@@ -83,9 +83,8 @@
                     try {
                         PagePluginManager ppmgr = roller.getPagePluginManager();
                         Map plugins = ppmgr.createAndInitPagePlugins(
-                                entry.getWebsite(),
-                                rctx.getServletContext(),
-                                rctx.getAbsoluteContextUrl(request),
+                                entry.getWebsite(), rctx.getServletContext(),
+                                rctx.getAbsoluteContextUrl((HttpServletRequest)pageContext.getRequest()),
                                 new VelocityContext());
 
                         xformed = ppmgr.applyPagePlugins(entry, plugins, sourceText, true);