This repository has been archived by the owner on Jan 29, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 152
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bug fix: filter out header sources only if the value is an empty string
A previous change checked for a truthy `$value` in SAPI header sources within the `marshal_headers_from_sapi()` function, which could lead to problems when the value was `0` or `'0'`. This patch adds tests to prevent future changes from causing the issue to re-surface, as well as a fix for the problem.
- Loading branch information
1 parent
0c108cc
commit c6ea797
Showing
2 changed files
with
42 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters