zend-diactoros v2.1.4 Release Notes

Release Date: 2019-10-08 // over 4 years ago
  • ➕ Added

    • Nothing.

    🔄 Changed

    • Nothing.

    🗄 Deprecated

    • Nothing.

    ✂ Removed

    • Nothing.

    🛠 Fixed

    🔒 #370 updates Zend\Diactoros\marshalHeadersFromSapi() to ensure all underscores in header name keys are converted to dashes (fixing issues with header names such as CONTENT_SECURITY_POLICY, which would previously resolve improperly to content-security_policy).

    ⚡️ #370 updates Zend\Diactoros\marshalHeadersFromSapi() to ignore header names from the $server array that resolve to integers; previously, it would raise a fatal error.