Re: POST and multipart/form-data
| From: | Rasmus Lerdorf | Date: | Thu, 01 Jan 1970 00:00:00 +0000 |
| Subject: | Re: POST and multipart/form-data | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-12864@lists.php.net to get a copy of this message | ||
> Has anyone looked at #2739? There seems to be an off by 1
> error with regard to setting variable names. I.e.,
>
> <form method="POST" enctype="multipart/form-data">
> <input type=text name=variable>
> </form>
>
> will cause $variabl to be set. functions/post.c has not been
> changed for ages, so there must have been a recent change
> somewhere else which broke this.
Hrm.. I bet this change did that:
http://cvs.php.net/cvsweb.cgi/functions/mime.c.diff?r1=1.57&r2=1.58&f=h
That change was made by kk to address bug #2362
Looks like it wasn't thought all the way through.
-Rasmus