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
"; + echo "
 " . 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
"; } }