Leaklens

django__django-15347

Messages framework incorrectly serializes/deserializes extra_tags when it's an empty string

Verdict: the fix is stated in the issue (Tier A).

This is because MessageEncoder checks for the truthyness of extra_tags rather than checking it is not None.

The text states the fix: “This is because MessageEncoder checks for the truthyness of extra_tags rather than checking it is not None.”

All SWE-bench Lite tasks · more django/django tasks · How the check works