Răsfoiți Sursa

#638 quick fix

quick fix for issue #638, maybe check on other places where this is possible?
Tjebbe Lievens 10 ani în urmă
părinte
comite
1eb52371bb
1 a modificat fișierele cu 2 adăugiri și 2 ștergeri
  1. 2 2
      web/list/web-log/index.php

+ 2 - 2
web/list/web-log/index.php

@@ -15,7 +15,7 @@ exec (VESTA_CMD."v-list-web-domain-".$type."log $user ".$v_domain, $output, $ret
 
 if ($return_var == 0 ) {
     foreach($output as $file) {
-        echo $file . "\n";
+        echo htmlentities($file) . "\n";
     }
 }
-echo "    </pre>\n</body>\n</html>\n";
+echo "    </pre>\n</body>\n</html>\n";