Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBart Visscher <bartv@thisnet.nl>2013-02-09 18:03:47 +0400
committerBart Visscher <bartv@thisnet.nl>2013-02-09 18:10:40 +0400
commit9dddcae9ca3dcf872893e36e2f478ebecafdc6e2 (patch)
tree161ce14d97ef95699266ead95da5f5f2bd97fb68 /lib/l10n.php
parent12bdc6ddb6021f772e8e6364eee89f1406ee3d7d (diff)
Remove invalid characters from app id to prevent loading of invalid resources
Diffstat (limited to 'lib/l10n.php')
-rw-r--r--lib/l10n.php2
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