summaryrefslogtreecommitdiffstats
path: root/core/ajax/translations.php
diff options
context:
space:
mode:
Diffstat (limited to 'core/ajax/translations.php')
-rw-r--r--core/ajax/translations.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/ajax/translations.php b/core/ajax/translations.php
index 75679da2c04..c84e778a5f1 100644
--- a/core/ajax/translations.php
+++ b/core/ajax/translations.php
@@ -25,6 +25,7 @@
require_once '../../lib/base.php';
$app = $_POST["app"];
+$app = OC_App::cleanAppId($app);
$l = OC_L10N::get( $app );