appmenus: add ampersand to allowed Exec chars
Some Windows applications use it in directory names.
This commit is contained in:
parent
155567cfcf
commit
1a0d4cae76
@ -46,7 +46,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()%&>/\\:.= -]*$"),
|
||||||
"Icon": re.compile(r"^[a-zA-Z0-9/_.-]*$"),
|
"Icon": re.compile(r"^[a-zA-Z0-9/_.-]*$"),
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user