瀏覽代碼

Merge pull request #639 from tjebbeke/patch-3

#638 quick fix
Serghey Rodin 10 年之前
父節點
當前提交
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";