portals-pluto-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From a..@apache.org
Subject svn commit: r931713 - /portals/pluto/trunk/pluto-portal-driver-impl/src/main/java/org/apache/pluto/driver/services/container/PortletRequestContextImpl.java
Date Wed, 07 Apr 2010 22:48:10 GMT
Author: ate
Date: Wed Apr  7 22:48:09 2010
New Revision: 931713

URL: http://svn.apache.org/viewvc?rev=931713&view=rev
Log:
Fix for PLUTO-568: Request attributes with javax not getting namespaced and hence colliding
I've solved this by now only excluding attributes starting with "javax.servlet." as those
are really reserved for the underlying servlet container itself.
Namespacing other attribute names *should* not cause side-effects.
Note: this is only a change specific to Pluto Portal Driver, not the portlet container (which
does not concern itself with this functionality). 

Modified:
    portals/pluto/trunk/pluto-portal-driver-impl/src/main/java/org/apache/pluto/driver/services/container/PortletRequestContextImpl.java

Modified: portals/pluto/trunk/pluto-portal-driver-impl/src/main/java/org/apache/pluto/driver/services/container/PortletRequestContextImpl.java
URL: http://svn.apache.org/viewvc/portals/pluto/trunk/pluto-portal-driver-impl/src/main/java/org/apache/pluto/driver/services/container/PortletRequestContextImpl.java?rev=931713&r1=931712&r2=931713&view=diff
==============================================================================
--- portals/pluto/trunk/pluto-portal-driver-impl/src/main/java/org/apache/pluto/driver/services/container/PortletRequestContextImpl.java
(original)
+++ portals/pluto/trunk/pluto-portal-driver-impl/src/main/java/org/apache/pluto/driver/services/container/PortletRequestContextImpl.java
Wed Apr  7 22:48:09 2010
@@ -68,7 +68,7 @@ public class PortletRequestContextImpl i
     
     protected boolean isReservedAttributeName(String name)
     {
-        return name.startsWith("java.") || name.startsWith("javax.");
+        return name.startsWith("javax.servlet.");
     }
     
     protected String encodeAttributeName(String name)



Mime
View raw message