Skip to content

Commit ab61478

Browse files
gr8manmichalsn
andauthored
Update user_guide_src/source/changelogs/v4.7.6.rst
Co-authored-by: Michal Sniatala <michal@sniatala.pl>
1 parent 48b11e0 commit ab61478

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

‎user_guide_src/source/changelogs/v4.7.6.rst‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,10 +33,10 @@ Bugs Fixed
3333
- **Security:** Fixed a bug where a valid JSON request body that is not an object
3434
(for example a JSON array) was corrupted after CSRF verification when the
3535
token was sent via the ``X-CSRF-TOKEN`` header.
36-
- **HTTP:** Fixed ``IncomingRequest::isSecure()`` to detect the
37-
``X-Forwarded-Proto`` header case-insensitively and to ignore ambiguous
38-
multi-valued headers. Previously, proxies forwarding an uppercase value such
39-
as ``HTTPS`` were not recognized as secure connections.
36+
- **HTTP:** Fixed a bug where ``IncomingRequest::isSecure()`` did not
37+
recognize ``https`` in the ``X-Forwarded-Proto`` header from a trusted
38+
proxy when the value contained uppercase letters or surrounding
39+
whitespace, or was represented as a single-element array.
4040

4141
See the repo's
4242
`CHANGELOG.md <https://github.com/codeigniter4/CodeIgniter4/blob/develop/CHANGELOG.md>`_

0 commit comments

Comments
 (0)