You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 240ed59
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: user_guide_src/source/changelogs/v4.7.6.rst
+4-16Lines changed: 4 additions & 16 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -33,22 +33,10 @@ Bugs Fixed
33
33
**********
34
34
35
35
- **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.
0 commit comments