Bug 40384

Summary: missing shell glob escapes
Product: UCS@school Reporter: Florian Best <best>
Component: GeneralAssignee: Florian Best <best>
Status: CLOSED FIXED QA Contact: Daniel Tröder <troeder>
Severity: normal    
Priority: P5 CC: best, gohmann, schwardt, thorp-hansen
Version: UCS@school 4.1   
Target Milestone: UCS@school 4.1 Errata   
Hardware: Other   
OS: Linux   
What kind of report is it?: --- What type of bug is this?: ---
Who will be affected by this bug?: --- How will those affected feel about the bug?: ---
User Pain: Enterprise Customer affected?:
School Customer affected?: ISV affected?:
Waiting Support: Flags outvoted (downgraded) after PO Review:
Ticket number: Bug group (optional):
Max CVSS v3 score:
Bug Depends on: 40031    
Bug Blocks: 40712    

Description Florian Best univentionstaff 2016-01-07 10:19:49 CET
The same goes for UCS@school:

ucs-school-import/hooks/ou_create_post.d/40dhcpsearchbase_create:       local val="$(echo $1 | tr [:upper:] [:lower:])"
ucs-school-import/hooks/ou_create_post.d/52marktplatz_create:   local val="$(echo $1 | tr [:upper:] [:lower:])"
ucs-school-umc-exam/hooks/ou_create_post.d/60schoolexam-master: local val="$(echo $1 | tr [:upper:] [:lower:])"


+++ This bug was initially created as a clone of Bug #40031 +++
Comment 1 Florian Best univentionstaff 2016-01-07 12:50:35 CET
Removed the functions and use is_ucr_true from univention-lib now.

ucs-school-import (12.0.2-1):
r66627 | Bug #40384: Copyright 2016
r66626 | Bug #40384: use univention-shell-lib

ucs-school-umc-exam (5.0.3-1):
r66627 | Bug #40384: Copyright 2016
r66626 | Bug #40384: use univention-shell-lib
Comment 2 Daniel Tröder univentionstaff 2016-01-15 09:14:52 CET
OK: code
OK: manual test:
# touch /tmp/test
# /usr/share/ucs-school-import/hooks/ou_create_post.d/60schoolexam-master /tmp/test ou=school01,$ldap_base
(doesn't create anything useful, but execution path covers the affected code)
Comment 3 Sönke Schwardt-Krummrich univentionstaff 2016-01-17 23:30:10 CET
UCS@school 4.1 v4 has been released.

If this error occurs again, please use "Clone This Bug".