myfaces-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mfreed...@apache.org
Subject svn commit: r811040 - /myfaces/portlet-bridge/core/trunk_2.0.x/impl/src/main/java/org/apache/myfaces/portlet/faces/context/PortletExternalContextImpl.java
Date Thu, 03 Sep 2009 17:18:56 GMT
Author: mfreedman
Date: Thu Sep  3 17:18:55 2009
New Revision: 811040

URL: http://svn.apache.org/viewvc?rev=811040&view=rev
Log:
Updates ExternalContext.encodeResource to properly remove special query string tokens.

Modified:
    myfaces/portlet-bridge/core/trunk_2.0.x/impl/src/main/java/org/apache/myfaces/portlet/faces/context/PortletExternalContextImpl.java

Modified: myfaces/portlet-bridge/core/trunk_2.0.x/impl/src/main/java/org/apache/myfaces/portlet/faces/context/PortletExternalContextImpl.java
URL: http://svn.apache.org/viewvc/myfaces/portlet-bridge/core/trunk_2.0.x/impl/src/main/java/org/apache/myfaces/portlet/faces/context/PortletExternalContextImpl.java?rev=811040&r1=811039&r2=811040&view=diff
==============================================================================
--- myfaces/portlet-bridge/core/trunk_2.0.x/impl/src/main/java/org/apache/myfaces/portlet/faces/context/PortletExternalContextImpl.java
(original)
+++ myfaces/portlet-bridge/core/trunk_2.0.x/impl/src/main/java/org/apache/myfaces/portlet/faces/context/PortletExternalContextImpl.java
Thu Sep  3 17:18:55 2009
@@ -711,6 +711,9 @@
   
   private String encodeResourceAsViewNavigationURL(String s)
   {
+    // Check for backlink and viewlink markers -- if they exist replace
+    s = replaceResourceQueryStringMarkers(s);
+    
     // encodeActionURL takes acre of & encoding issues
     return encodeActionURL(s);
   }



Mime
View raw message