Univention Bugzilla – Bug 27241
values of complex syntax can't contain double quotes
Last modified: 2023-08-28 09:20:19 CEST
Der Wert 'wpad "http://server.com/proxy.pac"' wird über das CLI als 'wpad http://server.com/proxy.pac' ins LDAP geschrieben. Bei einer complex Syntax prüft der CLI, ob er die Zeichenkette anhand von " teilen kann. klappt dies wird keine Leerzeichentrennung vorgenommen. Das führt in diesem Fall zum Fehler.
Es wäre am besten, wenn das CLI das Attribute delimiter der Klasse complex auswerten würde. Eine nette Erweiterung wäre noch, wenn es optional eine Funktion split geben könnte bei einer Syntaxklasse, die den Wert als Liste zurück gibt.
Side effect of this bug: It is currently impossible to include a " character in the ucr var password/radius/quality/forbidden/chars using ucr policies.
https://git.knut.univention.de/univention/ucs/-/merge_requests/805
shell escape splitting is now done in case there is a " double quote in the given value: univention-directory-manager-modules.yaml 04a5abc94664 | feat(udm): allow values to contain double quotes in complex syntax univention-directory-manager-modules (15.0.24-3) 04a5abc94664 | feat(udm): allow values to contain double quotes in complex syntax
univention-directory-manager-modules (15.0.24-5) d4086822dcbd | Bug #27241: add error handling
<https://errata.software-univention.de/#/?erratum=5.0x739>