summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorThomas Müller <thomas.mueller@tmit.eu>2013-02-09 09:56:26 -0800
committerThomas Müller <thomas.mueller@tmit.eu>2013-02-09 09:56:26 -0800
commit460faf3f97de3dc69e18c0701ede810d67c7f0ad (patch)
treefc414dd22538e7d872f9dcde0065f54db04b66fb /core
parent73c44dfa1fd091f56e4cc47341fb5c38d20356bd (diff)
parentd67d9566ce37e63c4df62d1f57fb03540421895c (diff)
downloadnextcloud-server-460faf3f97de3dc69e18c0701ede810d67c7f0ad.tar.gz
nextcloud-server-460faf3f97de3dc69e18c0701ede810d67c7f0ad.zip
Merge pull request #1569 from owncloud/clean-app-id
Remove invalid characters from app id to prevent loading of invalid reso...
Diffstat (limited to 'core')
-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 e22cbad4708..e52a2e9b1e8 100644
--- a/core/ajax/translations.php
+++ b/core/ajax/translations.php
@@ -22,6 +22,7 @@
*/
$app = $_POST["app"];
+$app = OC_App::cleanAppId($app);
$l = OC_L10N::get( $app );