Skip to content

Commit 240ed59

Browse files
committed
docs: reflow changelog
1 parent dacacf4 commit 240ed59

1 file changed

Lines changed: 4 additions & 16 deletions

File tree

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

Lines changed: 4 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -33,22 +33,10 @@ Bugs Fixed
3333
**********
3434

3535
- **Commands:** Fixed a bug where generator commands did not sort the imports of a template with CRLF line endings.
36-
- **Format:** Fixed ``XMLFormatter`` so that an array key that becomes empty after
37-
sanitization no longer triggers a ``ValueError``; the fallback tag name ``item``
38-
is used instead. Values that cannot be converted to a string, such as objects
39-
not implementing ``Stringable``, now throw a ``FormatException`` instead of a
40-
fatal ``Error``.
41-
- **Helpers:** Fixed a regression in v4.7.5 where ``set_value()`` threw a
42-
``TypeError`` when the default value was not a string or an array, such as
43-
an integer, a float, ``null``, or a ``Stringable`` object. Such values are
44-
now converted to a string.
45-
- **HTTP:** Fixed a bug where ``IncomingRequest::isSecure()`` did not
46-
recognize ``https`` in the ``X-Forwarded-Proto`` header from a trusted
47-
proxy when the value contained uppercase letters or surrounding
48-
whitespace, or was represented as a single-element array.
49-
- **Security:** Fixed a bug where a valid JSON request body that is not an object
50-
(for example a JSON array) was corrupted after CSRF verification when the
51-
token was sent via the ``X-CSRF-TOKEN`` header.
36+
- **Format:** Fixed ``XMLFormatter`` so that an array key that becomes empty after sanitization no longer triggers a ``ValueError``; the fallback tag name ``item`` is used instead. Values that cannot be converted to a string, such as objects not implementing ``Stringable``, now throw a ``FormatException`` instead of a fatal ``Error``.
37+
- **Helpers:** Fixed a regression in v4.7.5 where ``set_value()`` threw a ``TypeError`` when the default value was not a string or an array, such as an integer, a float, ``null``, or a ``Stringable`` object. Such values are now converted to a string.
38+
- **HTTP:** Fixed a bug where ``IncomingRequest::isSecure()`` did not recognize ``https`` in the ``X-Forwarded-Proto`` header from a trusted proxy when the value contained uppercase letters or surrounding whitespace, or was represented as a single-element array.
39+
- **Security:** Fixed a bug where a valid JSON request body that is not an object (for example a JSON array) was corrupted after CSRF verification when the token was sent via the ``X-CSRF-TOKEN`` header.
5240

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

0 commit comments

Comments
 (0)