diff options
| author | Sean Reed <sean@sean-reed.com> | 2025-12-19 22:09:25 +0100 |
|---|---|---|
| committer | Natalia <124304+nessita@users.noreply.github.com> | 2025-12-24 14:48:16 -0300 |
| commit | 16107ab710dc23d5ea0aa17da6bf29fe89b61bb0 (patch) | |
| tree | f9d3376b3cb66d1c309b6578dbaf54126960ec4b /docs/releases | |
| parent | 774543ed4feb37916071e81c0d0b81ba514333fa (diff) | |
[6.0.x] Refs #36810 -- Avoided infinite recursion in LazyNonce.__repr__().
Moved nonce generation in ``django.utils.csp.LazyNonce`` to a function
to avoid infinite recursion in ``SimpleLazyObject.__repr__`` for
unevaluated instances.
Co-authored-by: Natalia <124304+nessita@users.noreply.github.com>
Backport of 165c3599965e63f88649a46fcc2ff681c52f2f66 from main.
Diffstat (limited to 'docs/releases')
| -rw-r--r-- | docs/releases/6.0.1.txt | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/docs/releases/6.0.1.txt b/docs/releases/6.0.1.txt index 790fa76e99..90158b6ff2 100644 --- a/docs/releases/6.0.1.txt +++ b/docs/releases/6.0.1.txt @@ -27,3 +27,7 @@ Bugfixes * Fixed a visual regression in Django 6.0 for admin form fields grouped under a ``<fieldset>`` in Safari (:ticket:`36807`). + +* Fixed a crash in Django 6.0 caused by infinite recursion when calling + ``repr()`` on an unevaluated ``django.utils.csp.LazyNonce`` instance + (:ticket:`36810`). |
