mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
Forbid installing apps with a dot in app id
This commit is contained in:
parent
083510b060
commit
aac0146aef
1 changed files with 1 additions and 1 deletions
|
@ -887,7 +887,7 @@ def app_install(
|
||||||
raise YunohostValidationError("disk_space_not_sufficient_install")
|
raise YunohostValidationError("disk_space_not_sufficient_install")
|
||||||
|
|
||||||
# Check ID
|
# Check ID
|
||||||
if "id" not in manifest or "__" in manifest["id"]:
|
if "id" not in manifest or "__" in manifest["id"] or "." in manifest["id"]:
|
||||||
raise YunohostValidationError("app_id_invalid")
|
raise YunohostValidationError("app_id_invalid")
|
||||||
|
|
||||||
app_id = manifest["id"]
|
app_id = manifest["id"]
|
||||||
|
|
Loading…
Add table
Reference in a new issue