Преглед изворни кода

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";