cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cziege...@apache.org
Subject svn commit: r240041 - /cocoon/blocks/portal/trunk/java/org/apache/cocoon/portal/transformation/CopletTransformer.java
Date Thu, 25 Aug 2005 10:31:48 GMT
Author: cziegeler
Date: Thu Aug 25 03:31:42 2005
New Revision: 240041

URL: http://svn.apache.org/viewcvs?rev=240041&view=rev
Log:
Fix CopletTransformer "multipart/form-data" enctype handling. Applied patch submitted by Frank
Taffelt <frank.taffelt@interface-business.de> (Bug 36335) 

Modified:
    cocoon/blocks/portal/trunk/java/org/apache/cocoon/portal/transformation/CopletTransformer.java

Modified: cocoon/blocks/portal/trunk/java/org/apache/cocoon/portal/transformation/CopletTransformer.java
URL: http://svn.apache.org/viewcvs/cocoon/blocks/portal/trunk/java/org/apache/cocoon/portal/transformation/CopletTransformer.java?rev=240041&r1=240040&r2=240041&view=diff
==============================================================================
--- cocoon/blocks/portal/trunk/java/org/apache/cocoon/portal/transformation/CopletTransformer.java
(original)
+++ cocoon/blocks/portal/trunk/java/org/apache/cocoon/portal/transformation/CopletTransformer.java
Thu Aug 25 03:31:42 2005
@@ -288,7 +288,8 @@
             String parameters = null;
             final String enctype = newAttrs.getValue("enctype");
             if ( enctype== null 
-                 || "application/x-www-form-urlencoded".equals(enctype) )  {
+                || "application/x-www-form-urlencoded".equalsIgnoreCase(enctype)
+                || "multipart/form-data".equalsIgnoreCase(enctype) )  {
                 final int pos = uri.indexOf('?');
                 if ( pos != -1 ) {
                     parameters = uri.substring(pos+1);



Mime
View raw message