aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Render/Comanche.php
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2017-10-10 16:05:56 -0700
committerzotlabs <mike@macgirvin.com>2017-10-10 16:05:56 -0700
commitf273815d8ff45a28b36bd5121c58422dfc28d0ff (patch)
treef51f4dbfe646b41c1016c85589701cdc44db40e7 /Zotlabs/Render/Comanche.php
parent87970491441cb15462d3fe7a7641d2f2755cb45b (diff)
parent07ae4319501ac6edc024a849b4d060f171f27178 (diff)
downloadvolse-hubzilla-f273815d8ff45a28b36bd5121c58422dfc28d0ff.tar.gz
volse-hubzilla-f273815d8ff45a28b36bd5121c58422dfc28d0ff.tar.bz2
volse-hubzilla-f273815d8ff45a28b36bd5121c58422dfc28d0ff.zip
Merge branch 'dev' of https://github.com/redmatrix/hubzilla into dev_merge
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;