mirror of
https://github.com/phpseclib/phpseclib.git
synced 2024-12-24 02:55:30 +00:00
SFTP: digit only filenames were converted to integers by php
This commit is contained in:
parent
b2b867f032
commit
a45ccbacb7
@ -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));
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user