Univention Bugzilla – Bug 43819
disallow less characters for UCR keys
Last modified: 2020-07-03 20:55:42 CEST
Currently to many characters are not allowed as keys in UCR. Example: http://forum.univention.de/viewtopic.php?t=6593&p=25361#p25361 From base/univention-config-registry/python/univention/config_registry/misc.py: INVALID_KEY_CHARS = re.compile('[][\r\n!"#$%&\'()+,;<=>?\\\\`{}§]') The only characters that must be disallowed are those shells use as line separator: \n \r All other characters can be escaped in Python as well as in shells, incl. = and ?. If the storage backend would escape INVALID_KEY_CHARS, it could handle them safely. Instead of writing our own k/v-storage use an existing one, without which UCS doesn't work anyway: BDB.
This issue has been filed against UCS 4.2. UCS 4.2 is out of maintenance and many UCS components have changed in later releases. Thus, this issue is now being closed. If this issue still occurs in newer UCS versions, please use "Clone this bug" or reopen it and update the UCS version. In this case please provide detailed information on how this issue is affecting you.