aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rwxr-xr-xsrc/private/autojudging.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/private/autojudging.php b/src/private/autojudging.php
index c5b5556..6f913b7 100755
--- a/src/private/autojudging.php
+++ b/src/private/autojudging.php
@@ -477,6 +477,7 @@ if($retval != 0) {
$answertmp = '';
if(count($dif) > 0)
$answertmp = substr(trim($dif[count($dif)-1]),0,200);
+ $answertmp = sanitizeText($answertmp);
fclose($fp);
foreach (glob($dir . $ds . '*') as $fne) {
@chown($fne,"nobody");