diff options
author | Christoph M. Becker <cmbecker69@gmx.de> | 2021-02-23 15:32:54 +0100 |
---|---|---|
committer | Christoph M. Becker <cmbecker69@gmx.de> | 2021-03-03 10:45:25 +0100 |
commit | 51e2015af3fc4757a666736aae7899a43f76ae6d (patch) | |
tree | 9f9d4e78749646c5db9a5939f933fdbc4becab73 /ext/pdo_sqlite/pdo_sqlite.c | |
parent | 71297a254b8f0d97c028f3324cbaf95adf8de33c (diff) | |
download | php-git-51e2015af3fc4757a666736aae7899a43f76ae6d.tar.gz |
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.
Diffstat (limited to 'ext/pdo_sqlite/pdo_sqlite.c')
0 files changed, 0 insertions, 0 deletions