History log of /PHP-8.2/ext/standard/tests/http/bug78719.phpt (Results 1 – 3 of 3)
Revision Date Author Comments
# ac18dd0d 29-Jun-2021 Patrick Allaert

Prefer EXPECT over EXPECTF


# 303a4ae4 03-Mar-2021 Christoph M. Becker

Fix test wrt. server.inc changes


# 51e2015a 23-Feb-2021 Christoph M. Becker

Fix #78719: http wrapper silently ignores long Location headers

When opening HTTP streams, and reading the headers, we currently
discard header lines longer than `HTTP_HEADER_BLOCK_SIZE`

Fix #78719: http wrapper silently ignores long Location headers

When opening HTTP streams, and reading the headers, we currently
discard header lines longer than `HTTP_HEADER_BLOCK_SIZE` (1024 bytes).
While this is not generally forbidden by RFC 7230, section 3.2.5, it
is not generally allowed either, since that may change the "message
framing or response semantics".

We thus fix this by allowing arbitrarily long header lines.

Closes GH-6720.

show more ...