Univention Bugzilla – Bug 41629
Umlauts in ucr keys are valid
Last modified: 2020-04-16 18:48:30 CEST
In univention-config-registry/python/univention/config_registry/misc.py is the function validate_key() which is used when an ucr variable is set. One part of that function should check if there are umlauts in the key but that doesn't work. It seems a byte encoded string is compared to an unicode encoded string. I don't see a problem with umlauts in ucr keys? My suggestion would be to either remove that check from validate_key() or check not only for umlauts but for non ascii characters. As of now ''' ucr set ümlaut=foo ucr set ☃=snowman ''' works without a warning.
*** This bug has been marked as a duplicate of bug 25095 ***