aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Render/Comanche.php
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2017-10-10 12:09:32 +0200
committerMario Vavti <mario@mariovavti.com>2017-10-10 12:09:32 +0200
commitedc262f5af0f3ade8cfeca22061f1329daa688c3 (patch)
tree6f03d70a3a6c7bde8ecba22663ea0bd78d357c0b /Zotlabs/Render/Comanche.php
parent41cf846ee3c51257dc8ba05e498345b3e568e422 (diff)
parent335536bbbf0069442a445b9b641a5f51208fca86 (diff)
downloadvolse-hubzilla-edc262f5af0f3ade8cfeca22061f1329daa688c3.tar.gz
volse-hubzilla-edc262f5af0f3ade8cfeca22061f1329daa688c3.tar.bz2
volse-hubzilla-edc262f5af0f3ade8cfeca22061f1329daa688c3.zip
Merge remote-tracking branch 'mike/master' into dev
Diffstat (limited to 'Zotlabs/Render/Comanche.php')
-rw-r--r--Zotlabs/Render/Comanche.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/Zotlabs/Render/Comanche.php b/Zotlabs/Render/Comanche.php
index ca664cba6..c787b19ae 100644
--- a/Zotlabs/Render/Comanche.php
+++ b/Zotlabs/Render/Comanche.php
@@ -457,6 +457,9 @@ class Comanche {
}
}
+ if(! purify_filename($name))
+ return '';
+
$clsname = ucfirst($name);
$nsname = "\\Zotlabs\\Widget\\" . $clsname;