Univention Bugzilla – Bug 55100
Creating a School with "_" or "-" via UMC not possible due to wrong regex check
Last modified: 2022-08-15 16:48:51 CEST
Reason: /usr/lib/python2.7/dist-packages/ucsschool/lib/models/attributes.py /usr/lib/python3/dist-packages/ucsschool/lib/models/attributes.py /kelvin/ucs-school-lib/modules/ucsschool/lib/models/attributes.py Checks for "-" not "_": regex = re.compile("^[a-zA-Z0-9](([a-zA-Z0-9-]*)([a-zA-Z0-9]$))?$") But Javascript checks for "_" instead of "-"