appmenus: allow parenthesis in exec directive for special path such as Program Files (x86)

This commit is contained in:
Olivier MEDOC 2013-12-12 10:04:54 +01:00 committed by Marek Marczykowski-Górecki
parent 76769ab761
commit 9cb10f4805

View File

@ -44,7 +44,7 @@ fields_regexp = {
"GenericName": std_re, "GenericName": std_re,
"Comment": std_re, "Comment": std_re,
"Categories": re.compile(r"^[a-zA-Z0-9/.; -]*$"), "Categories": re.compile(r"^[a-zA-Z0-9/.; -]*$"),
"Exec": re.compile(r"^[a-zA-Z0-9%>/\\:.= -]*$"), "Exec": re.compile(r"^[a-zA-Z0-9()%>/\\:.= -]*$"),
} }
def fallback_hvm_appmenulist(): def fallback_hvm_appmenulist():