mirror of
https://gitlab.com/apparmor/apparmor.git
synced 2025-03-05 17:01:00 +01:00
AARE: escape exclamation mark
'!' is a reserved symbol and needs to be escaped in AARE. Note: aare.py only exists in trunk, therefore this part is trunk-only. Acked-by: Seth Arnold <seth.arnold@canonical.com> for trunk, 2.10 and 2.9 as needed.
This commit is contained in:
parent
5138e08372
commit
9950f71d0d
1 changed files with 1 additions and 0 deletions
|
@ -1073,6 +1073,7 @@ def handle_children(profile, hat, root):
|
||||||
detail = detail.replace('*', '\*')
|
detail = detail.replace('*', '\*')
|
||||||
detail = detail.replace('{', '\{')
|
detail = detail.replace('{', '\{')
|
||||||
detail = detail.replace('}', '\}')
|
detail = detail.replace('}', '\}')
|
||||||
|
detail = detail.replace('!', '\!')
|
||||||
|
|
||||||
# Give Execute dialog if x access requested for something that's not a directory
|
# Give Execute dialog if x access requested for something that's not a directory
|
||||||
# For directories force an 'ix' Path dialog
|
# For directories force an 'ix' Path dialog
|
||||||
|
|
Loading…
Add table
Reference in a new issue