]>
Commit | Line | Data |
---|---|---|
82f6b657 ER |
1 | diff -up php-5.2.17/main/rfc1867.c.bug-55504 php-5.2.17/main/rfc1867.c |
2 | --- php-5.2.17/main/rfc1867.c.bug-55504 2012-01-12 10:13:38.000000000 +0700 | |
3 | +++ php-5.2.17/main/rfc1867.c 2012-01-12 10:14:14.000000000 +0700 | |
4 | @@ -817,7 +817,7 @@ SAPI_API SAPI_POST_HANDLER_FUNC(rfc1867_ | |
5 | } | |
6 | } else { | |
7 | /* search for the end of the boundary */ | |
8 | - boundary_end = strchr(boundary, ','); | |
9 | + boundary_end = strpbrk(boundary, ",;"); | |
10 | } | |
11 | if (boundary_end) { | |
12 | boundary_end[0] = '\0'; |