You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@cocoon.apache.org by an...@apache.org on 2006/05/29 14:04:27 UTC

svn commit: r410083 - /cocoon/branches/BRANCH_2_1_X/src/java/org/apache/cocoon/environment/http/HttpRequest.java

Author: antonio
Date: Mon May 29 05:04:26 2006
New Revision: 410083

URL: http://svn.apache.org/viewvc?rev=410083&view=rev
Log:
Fix typo. Thanks to Carten. :-)

Modified:
    cocoon/branches/BRANCH_2_1_X/src/java/org/apache/cocoon/environment/http/HttpRequest.java

Modified: cocoon/branches/BRANCH_2_1_X/src/java/org/apache/cocoon/environment/http/HttpRequest.java
URL: http://svn.apache.org/viewvc/cocoon/branches/BRANCH_2_1_X/src/java/org/apache/cocoon/environment/http/HttpRequest.java?rev=410083&r1=410082&r2=410083&view=diff
==============================================================================
--- cocoon/branches/BRANCH_2_1_X/src/java/org/apache/cocoon/environment/http/HttpRequest.java (original)
+++ cocoon/branches/BRANCH_2_1_X/src/java/org/apache/cocoon/environment/http/HttpRequest.java Mon May 29 05:04:26 2006
@@ -315,7 +315,7 @@
 
     public String getParameter(String name) {
         String value = this.req.getParameter(name);
-        if (this.form_encoding == null || this.form_encoding == null || value == null) {
+        if (this.form_encoding == null || this.container_encoding == null || value == null) {
             return value;
         }
         // Form and container encoding are equal, skip expensive value decoding