summaryrefslogtreecommitdiffstats
path: root/settings/ajax/updateapp.php
diff options
context:
space:
mode:
Diffstat (limited to 'settings/ajax/updateapp.php')
-rw-r--r--settings/ajax/updateapp.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/settings/ajax/updateapp.php b/settings/ajax/updateapp.php
index 77c0bbc3e36..9367a3b5a3b 100644
--- a/settings/ajax/updateapp.php
+++ b/settings/ajax/updateapp.php
@@ -4,6 +4,7 @@ OC_JSON::checkAdminUser();
OCP\JSON::callCheck();
$appid = $_POST['appid'];
+$appid = OC_App::cleanAppId($appid);
$result = OC_Installer::updateApp($appid);
if($result !== false) {