From a4f45ac04b7dc72cb439c39f40459bf6fb57af44 Mon Sep 17 00:00:00 2001 From: BodgeMaster <> Date: Thu, 5 Mar 2020 10:45:08 +0100 Subject: [PATCH] =?UTF-8?q?added=20HTML=20code=20escaping=20...=20?= =?UTF-8?q?=E2=80=99cause=20issues?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- strassenkind.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/strassenkind.php b/strassenkind.php index 87b329e..51c1bcf 100644 --- a/strassenkind.php +++ b/strassenkind.php @@ -50,7 +50,7 @@ $git_commands = get_command_list("commands_git.conf"); $command = $command . " 2>&1"; } $output = shell_exec($command); - echo "
$command\n
$output\n
" . htmlspecialchars($command, $flags=ENT_DISALLOWED | ENT_HTML5 | ENT_QUOTES, $encoding="UTF-8") . "\n
" . htmlspecialchars($output, $flags=ENT_DISALLOWED | ENT_HTML5 | ENT_QUOTES, $encoding="UTF-8") . "\n