mirror of
https://github.com/danog/phpseclib.git
synced 2024-12-04 02:28:06 +01: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