Просмотр исходного кода

Merge pull request #639 from tjebbeke/patch-3

#638 quick fix
Serghey Rodin 10 лет назад
Родитель
Сommit
5e861eb78f
1 измененных файлов с 2 добавлено и 2 удалено
  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";