SFTP: digit only filenames were converted to integers by php

This commit is contained in:
terrafrost 2021-03-08 23:03:38 -06:00
parent b2b867f032
commit a45ccbacb7

View File

@ -1083,7 +1083,7 @@ class Net_SFTP extends Net_SSH2
uasort($contents, array(&$this, '_comparator'));
}
return $raw ? $contents : array_keys($contents);
return $raw ? $contents : array_map('strval', array_keys($contents));
}
/**