wordpress-mobile/WordPressKit-iOS

Parameters are not included in multipart POST requests

fluiddot opened this issue · 0 comments

Expected behavior

Parameters argument of multipartPOST function should be included in the POST request.

Actual behavior

Parameters are not included.

Steps to reproduce the behavior

multipartPOST function is only used in the following places:

The easiest way to reproduce the bug is by adding items from the free photo library as they include as the caption value its photo credit in the upload parameters.

  1. Go to the media screen.
  2. Tap on + button.
  3. Tap on Free Photo Library.
  4. Search any term.
  5. Tap one or multiple items.
  6. Tap on Add button.
  7. Wait for the items to be uploaded.
  8. Tap on one of the uploaded items.
  9. Check that the caption value is empty.
WordPressKit Environment
  • WordPressKit Version 4.25-beta
  • OS: iOS 14.0
  • Device: iPhone 8 (simulator)
  • Xcode Version: Xcode 12.0
Additional Context

No.