Added missing cursor increment in rfc1867PostHandler. Fixes #1706
commitc299814c3a92c81b0d3017fe24b65489937d4c89
authorAlbert Dahlin <info@albertdahlin.com>
Wed, 13 Jan 2016 22:04:36 +0000 (13 14:04 -0800)
committerhhvm-bot <hhvm-bot@fb.com>
Wed, 13 Jan 2016 23:00:59 +0000 (13 15:00 -0800)
tree4857946ec8b9a0bbfa21ca44a64fc740b50d5734
parent47cff55935064e66d315fb3082195b911a74b1eb
Added missing cursor increment in rfc1867PostHandler. Fixes #1706

Summary:
The missing multipart_buffer cursor increment causes some of the post data to be duplicated when read from the buffer.

Here is one example of the resulting data in the buffer
```
------WebKitFormBoundary8pfe3ho8C5p2ZXwA
Content-Disposition: form-data; name="single-0"

0
------WebKitFormBoundary8pfe3ho8C5p2ZXwA
Content-Disposition: form-data; name="single-1"

1
------WebKitFormBoundary8pfe3ho8C5p2ZXwA
Content-Disposition: form-data; name="single-2"

2
------WebKitFormBoundary8pfe3ho8C5p2ZXwA
Content-Disposition: form-data; name="single-3"

3
------WebKitFormBoundary8pfe3ho8C5p2ZXwA
Content-Disposition: form-data; name="single-4"

4
------WebKitFormBoundary8pfe3ho8C5p2ZXwA
Content-Disposition: form-data; name="single-5"

5
------WebKitFormBoundary8pfe3ho8C5p2ZXwA
Content-Disposition: form-data; name="single-6"

6
------WebKitFormBoundary8pfe3ho8C5p2ZXwA
Content-Disposition: form-data; name="single-7"

7
------WebKitFormBoundary8pfe3ho8C5p2ZXwA--

4"

4
------WebKitFormB
Closes https://github.com/facebook/hhvm/pull/6585

Reviewed By: paulbiss

Differential Revision: D2695893

fb-gh-sync-id: 60d545133f03439f8f754a00c0f5454736619747
hphp/runtime/server/upload.cpp