diff options
author | Bart Visscher <bartv@thisnet.nl> | 2013-02-09 15:03:47 +0100 |
---|---|---|
committer | Bart Visscher <bartv@thisnet.nl> | 2013-02-09 15:10:40 +0100 |
commit | 9dddcae9ca3dcf872893e36e2f478ebecafdc6e2 (patch) | |
tree | 161ce14d97ef95699266ead95da5f5f2bd97fb68 /lib/l10n.php | |
parent | 12bdc6ddb6021f772e8e6364eee89f1406ee3d7d (diff) | |
download | nextcloud-server-9dddcae9ca3dcf872893e36e2f478ebecafdc6e2.tar.gz nextcloud-server-9dddcae9ca3dcf872893e36e2f478ebecafdc6e2.zip |
Remove invalid characters from app id to prevent loading of invalid resources
Diffstat (limited to 'lib/l10n.php')
-rw-r--r-- | lib/l10n.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/l10n.php b/lib/l10n.php index ee879009265..e272bcd79f3 100644 --- a/lib/l10n.php +++ b/lib/l10n.php @@ -97,7 +97,7 @@ class OC_L10N{ if ($this->app === true) { return; } - $app = $this->app; + $app = OC_App::cleanAppId($this->app); $lang = $this->lang; $this->app = true; // Find the right language |