Skip to content
This repository has been archived by the owner on Jan 29, 2020. It is now read-only.

RESTful: Handle single field request with empty value #251

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Commits on Jul 25, 2017

  1. Configuration menu
    Copy the full SHA
    7d5594f View commit details
    Browse the repository at this point in the history
  2. Fix comments

    autowp committed Jul 25, 2017
    Configuration menu
    Copy the full SHA
    bcdabf3 View commit details
    Browse the repository at this point in the history

Commits on Dec 8, 2019

  1. Fixed parsing request content string - one field with empty value

    To keep BC we need to process as follows:
    - `foo=`    -> `['foo' => '']`
    - `foo`     -> `foo`
    - `foo&bar` -> `['foo' => '', 'bar' => '']`
    
    This is no longer dependent on content-type provided, as it was before.
    michalbundyra committed Dec 8, 2019
    Configuration menu
    Copy the full SHA
    11ca56d View commit details
    Browse the repository at this point in the history