Prior to this change, the upload code tried to add mangled names to
the global HTTP_POST_FILES array, resulting in all kind of weird behaviour.
After this change, multi-dimensional form elements are treated correctly
and consistently.
* start_arr is set to point to 1st [
* end_arr points to last ]
*/
- is_arr_upload = (start_arr = strrchr(namebuf,'[')) &&
+ is_arr_upload = (start_arr = strchr(namebuf,'[')) &&
(end_arr = strrchr(namebuf,']')) &&
(end_arr = namebuf+strlen(namebuf)-1);
if(is_arr_upload) {