Parcourir la source

Merge remote-tracking branch 'serghey-rodin/master'

Clark Chen il y a 10 ans
Parent
commit
66c9e56e46
1 fichiers modifiés avec 2 ajouts et 2 suppressions
  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 ) {
 if ($return_var == 0 ) {
     foreach($output as $file) {
     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";