null characters in JSONField trigger a database error on PostgreSQL #8223
Unanswered
jlaine
asked this question in
Potential Issue
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Some time ago PR #6073 added code to apply ProhibitNullCharactersValidator to CharFields. I noticed that inserting null characters in a JSONField passes validation but triggers a database exception for the same reasons as CharField.
Would it be acceptable to have a equivalent of ProhibitNullCharactersValidator applied to JSONField?
Beta Was this translation helpful? Give feedback.
All reactions