]> granicus.if.org Git - php/commitdiff
Fix the "Content-Type contains ';'" case in rfc1867 post handler
authorArnaud Le Blanc <lbarnaud@php.net>
Mon, 8 Sep 2008 09:20:33 +0000 (09:20 +0000)
committerArnaud Le Blanc <lbarnaud@php.net>
Mon, 8 Sep 2008 09:20:33 +0000 (09:20 +0000)
main/rfc1867.c

index 21642c59ff83ff68ad77662d6b2fa6485a27f7da..5d66b002201b529097a7a801aecd6d56ddf66c5f 100644 (file)
@@ -1484,6 +1484,7 @@ var_done:
                                s = u_strchr(ucd, 0x3b /*';'*/);
                                if (s != NULL) {
                                        *s = 0;
+                                       ucd_len = u_strlen(ucd);
                                }
                        }