From 30b80c59b976ff28599be6d85ce9438e2be7eef0 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Tim=20D=C3=BCsterhus?= Date: Fri, 26 Jun 2020 16:13:55 +0200 Subject: [PATCH] Whitelist `parse_url` in enterprise mode --- .../lib/system/template/TemplateScriptingCompiler.class.php | 1 + 1 file changed, 1 insertion(+) diff --git a/wcfsetup/install/files/lib/system/template/TemplateScriptingCompiler.class.php b/wcfsetup/install/files/lib/system/template/TemplateScriptingCompiler.class.php index 8d180069df..1adfacbae6 100644 --- a/wcfsetup/install/files/lib/system/template/TemplateScriptingCompiler.class.php +++ b/wcfsetup/install/files/lib/system/template/TemplateScriptingCompiler.class.php @@ -96,6 +96,7 @@ class TemplateScriptingCompiler { 'min', 'nl2br', 'number_format', + 'parse_url', 'preg_match', 'preg_replace', 'print_r', -- 2.20.1