diff options
| author | Sean Reed <sean@sean-reed.com> | 2025-12-19 22:09:25 +0100 |
|---|---|---|
| committer | nessita <124304+nessita@users.noreply.github.com> | 2025-12-24 14:46:41 -0300 |
| commit | 165c3599965e63f88649a46fcc2ff681c52f2f66 (patch) | |
| tree | 43114e5fe32dd3d465f8fc618ef2b1fb5a5a89db /docs | |
| parent | 3923ebac28672ef4ebfbf2685fbc93206e6c136e (diff) | |
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>
Diffstat (limited to 'docs')
| -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`). |
