Whitelist `strip_tags` in enterprise mode
authorTim Düsterhus <duesterhus@woltlab.com>
Fri, 15 May 2020 09:48:29 +0000 (11:48 +0200)
committerTim Düsterhus <duesterhus@woltlab.com>
Fri, 15 May 2020 09:48:29 +0000 (11:48 +0200)
wcfsetup/install/files/lib/system/template/TemplateScriptingCompiler.class.php

index 5d33eba44363847908c26881d0ebc48a427f49e2..703f9a4ea325db6604c15b368626f71fbeb4af91 100644 (file)
@@ -101,8 +101,9 @@ class TemplateScriptingCompiler {
                'sha1',
                'spl_object_hash',
                'sprintf',
-               'strpos',
+               'strip_tags',
                'strlen',
+               'strpos',
                'strtolower',
                'strtotime',
                'strtoupper',