httpd-apreq-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From j...@apache.org
Subject svn commit: r320798 - in /httpd/apreq/trunk: include/apreq_version.h library/parser_multipart.c
Date Thu, 13 Oct 2005 16:40:47 GMT
Author: joes
Date: Thu Oct 13 09:40:44 2005
New Revision: 320798

URL: http://svn.apache.org/viewcvs?rev=320798&view=rev
Log:
divine charset in param parts,
to maintain parity between multipart
and urlencoded parser.

Modified:
    httpd/apreq/trunk/include/apreq_version.h
    httpd/apreq/trunk/library/parser_multipart.c

Modified: httpd/apreq/trunk/include/apreq_version.h
URL: http://svn.apache.org/viewcvs/httpd/apreq/trunk/include/apreq_version.h?rev=320798&r1=320797&r2=320798&view=diff
==============================================================================
--- httpd/apreq/trunk/include/apreq_version.h (original)
+++ httpd/apreq/trunk/include/apreq_version.h Thu Oct 13 09:40:44 2005
@@ -61,7 +61,7 @@
 #define APREQ_MINOR_VERSION       5
 
 /** patch level */
-#define APREQ_PATCH_VERSION       5
+#define APREQ_PATCH_VERSION       6
 
 /**
  *  This symbol is defined for internal, "development" copies of libapreq.

Modified: httpd/apreq/trunk/library/parser_multipart.c
URL: http://svn.apache.org/viewcvs/httpd/apreq/trunk/library/parser_multipart.c?rev=320798&r1=320797&r2=320798&view=diff
==============================================================================
--- httpd/apreq/trunk/library/parser_multipart.c (original)
+++ httpd/apreq/trunk/library/parser_multipart.c Thu Oct 13 09:40:44 2005
@@ -556,6 +556,8 @@
                     }
                 }
 
+                apreq_param_charset_set(param,
+                                        apreq_charset_divine(v->data, len));
                 apreq_value_table_add(v, t);
                 ctx->status = MFD_NEXTLINE;
                 ctx->param_name = NULL;



Mime
View raw message