Sitelet https://github.com/Codeception/c3/pull/70
Skip to content

Don't set empty headers, because null values can cause issues - #70

Merged
Naktibalda merged 1 commit into
2.0from
dont-set-empty-headers
May 18, 2021
Merged

Naktibalda merged 1 commit into
2.0from
dont-set-empty-headers

Conversation

@Naktibalda

Copy link
Copy Markdown
Member

Fixes <b>Fatal error</b>: Uncaught Laminas\Diactoros\Exception\InvalidArgumentException: Invalid header value type; must be a string or numeric; received NULL in /srv/www/vendor/laminas/laminas-diactoros/src/HeaderSecurity.php:140

reported at #67 (comment)

@Pi-George

Copy link
Copy Markdown

Great! 👍

@Pi-George

Copy link
Copy Markdown

Any chance we can merge this?

@Naktibalda
Naktibalda merged commit 6253181 into 2.0 May 18, 2021
@Naktibalda
Naktibalda deleted the dont-set-empty-headers branch May 18, 2021 16:51
@Naktibalda

Copy link
Copy Markdown
Member Author

Merged and published as 2.6.4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants