Эх сурвалжийг харах

Do not reveal input length

Jordi Boggiano 13 жил өмнө
parent
commit
35cca1ed7f

+ 1 - 5
src/Composer/IO/ConsoleIO.php

@@ -129,11 +129,7 @@ class ConsoleIO implements IOInterface
             $value = rtrim(shell_exec($command));
             $value = rtrim(shell_exec($command));
             unlink($vbscript);
             unlink($vbscript);
 
 
-            for ($i = 0; $i < strlen($value); ++$i) {
-                $this->write('*', false);
-            }
-
-            $this->write('');
+            $this->write('***');
 
 
             return $value;
             return $value;
         }
         }