appmenus: add ampersand to allowed Exec chars

Some Windows applications use it in directory names.
This commit is contained in:
Marek Marczykowski-Górecki 2014-02-16 20:14:26 +01:00
parent 155567cfcf
commit 1a0d4cae76

View File

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