Skip to content

Commit

Permalink
Merge branch '3.0'
Browse files Browse the repository at this point in the history
  • Loading branch information
terrafrost committed Jan 16, 2025
2 parents 0b9fd98 + 66e4d6f commit 0cf9203
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions phpseclib/Net/SFTP.php
Original file line number Diff line number Diff line change
Expand Up @@ -627,6 +627,8 @@ public function realpath(string $path)
return false;
}

$path = (string) $path;

if (!$this->canonicalize_paths) {
if ($this->pwd === true) {
return '.';
Expand Down

0 comments on commit 0cf9203

Please sign in to comment.