validation: add trace log

This commit is contained in:
Peter Bieringer
2026-05-12 12:29:13 +02:00
parent 1ae4d7c1ce
commit 85e7cf588e

View File

@@ -74,6 +74,7 @@ def _check_format(self: storage.BaseStorage,
if check_unicode_letter:
if c not in whitelist_unicode:
if unicodedata.category(c)[0] != "L":
logger.trace("_check_format found %r (%r)", c, unicodedata.category(c)[0])
return False
if check_no_unicode:
if ord(c) > 255: