diff options
author | Bart Visscher <bartv@thisnet.nl> | 2013-02-09 18:03:47 +0400 |
---|---|---|
committer | Bart Visscher <bartv@thisnet.nl> | 2013-02-11 21:08:48 +0400 |
commit | 74e73bc8021b71cc3b89ea6ca204e1cab42257c3 (patch) | |
tree | d22a83a7fd38759fdeec8979102adc8b49c0dd96 /core | |
parent | 015ac6a91dc1490a5ddd9adc40d3d8a9af8334eb (diff) |
Remove invalid characters from app id to prevent loading of invalid resources
Diffstat (limited to 'core')
-rw-r--r-- | core/ajax/translations.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/core/ajax/translations.php b/core/ajax/translations.php index a6433b1964a..73d918f134d 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 ); |