2.6.0
Closed May 18, 2021
100% complete
Added
- The default behavior when marshalling request headers from the
$_SERVER
superglobal is to map all entries starting withHTTP_
orCONTENT_
to HTTP headers. However, this behavior is a bit aggressive with regards to theCONTENT_
keys; PHP only mapsCONTENT_LENGTH
,CONTENT_MD5
, andCONTENT_LENGTH
in this way. To remain backwards compatible, we are not…
Added
- The default behavior when marshalling request headers from the
$_SERVER
superglobal is to map all entries starting withHTTP_
orCONTENT_
to HTTP headers. However, this behavior is a bit aggressive with regards to theCONTENT_
keys; PHP only mapsCONTENT_LENGTH
,CONTENT_MD5
, andCONTENT_LENGTH
in this way. To remain backwards compatible, we are not changing that behavior. However, users who are experiencing conflicts with env variables they have declared (as an example,CONTENT_API_KEY
) can define the env variableLAMINAS_DIACTOROS_STRICT_CONTENT_HEADER_LOOKUP
. When present, the logic for marshalling headers will only consider exact matches on those threeCONTENT_
keys, and ignore any others it identifies. (Behavior forHTTP_
prefixed headers remains the same.)
This milestone is closed.
No open issues remain. View closed issues or see open milestones in this repository.