You are viewing a plain text version of this content. The canonical link for it is here.
Posted to pluto-scm@portals.apache.org by bl...@apache.org on 2005/08/10 16:01:18 UTC

svn commit: r231238 - /portals/pluto/trunk/container/src/java/org/apache/pluto/core/impl/PortletRequestImpl.java

Author: blumm
Date: Wed Aug 10 07:01:15 2005
New Revision: 231238

URL: http://svn.apache.org/viewcvs?rev=231238&view=rev
Log:
This patch provides a fix for the issue PLUTO-143. The patch was provided by Ulrich Kuester. See Jira for more details.

Modified:
    portals/pluto/trunk/container/src/java/org/apache/pluto/core/impl/PortletRequestImpl.java

Modified: portals/pluto/trunk/container/src/java/org/apache/pluto/core/impl/PortletRequestImpl.java
URL: http://svn.apache.org/viewcvs/portals/pluto/trunk/container/src/java/org/apache/pluto/core/impl/PortletRequestImpl.java?rev=231238&r1=231237&r2=231238&view=diff
==============================================================================
--- portals/pluto/trunk/container/src/java/org/apache/pluto/core/impl/PortletRequestImpl.java (original)
+++ portals/pluto/trunk/container/src/java/org/apache/pluto/core/impl/PortletRequestImpl.java Wed Aug 10 07:01:15 2005
@@ -568,7 +568,12 @@
 
 	public String getMethod() {
 		// TBD
-		return this._getHttpServletRequest().getMethod();
+		// return this._getHttpServletRequest().getMethod();
+		if (included) {
+			return "GET";
+		} else {
+			return this._getHttpServletRequest().getMethod();
+		}
 	}
 
 	public boolean isRequestedSessionIdFromURL() {