diff options
author | Hannes Magnusson <bjori@php.net> | 2011-09-07 16:19:09 +0000 |
---|---|---|
committer | Hannes Magnusson <bjori@php.net> | 2011-09-07 16:19:09 +0000 |
commit | 797a1ce88f9ba5d028fa51f401ab1792575795c7 (patch) | |
tree | 0b997a25fa5bd22b524cc699d302452c1beaef99 /main/rfc1867.c | |
parent | 565cf8b76ab273dcad5a48812f28f3f1da7574a3 (diff) | |
download | php-git-797a1ce88f9ba5d028fa51f401ab1792575795c7.tar.gz |
Fixed bug #55504 (Content-Type header is not parsed correctly on HTTP POST request
Diffstat (limited to 'main/rfc1867.c')
-rw-r--r-- | main/rfc1867.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/main/rfc1867.c b/main/rfc1867.c index 01b71317cc..95f9fa8bf2 100644 --- a/main/rfc1867.c +++ b/main/rfc1867.c @@ -816,7 +816,7 @@ SAPI_API SAPI_POST_HANDLER_FUNC(rfc1867_post_handler) /* {{{ */ } } else { /* search for the end of the boundary */ - boundary_end = strchr(boundary, ','); + boundary_end = strpbrk(boundary, ",;"); } if (boundary_end) { boundary_end[0] = '\0'; |