Univention Bugzilla – Bug 40202
univention-config-registry backend strips blanks
Last modified: 2019-01-03 07:19:34 CET
While it is possible to store a value consisting only of white space characters in UCR, they are returned as the empty string: univention-config-registry/python/univention/config_registry/backend.py:330 330 »···»···»···key, value = line.split(': ', 1) 331 »···»···»···value = value.strip() 332 »···»···»···if len(value) == 0: # if variable was set without an value 333 »···»···»···»···value = '' Please note, that the last two lines are completely useless.
This issue has been filled against UCS 4.1. The maintenance with bug and security fixes for UCS 4.1 has ended on 5st of April 2018. Customers still on UCS 4.1 are encouraged to update to UCS 4.3. Please contact your partner or Univention for any questions. If this issue still occurs in newer UCS versions, please use "Clone this bug" or simply reopen the issue. In this case please provide detailed information on how this issue is affecting you.