mirror of
https://github.com/phpseclib/phpseclib.git
synced 2024-12-27 11:52:48 +00:00
Merge branch '1.0' into 2.0
This commit is contained in:
commit
f02f0005b4
@ -659,6 +659,16 @@ class SFTP extends SSH2
|
||||
$this->canonicalize_paths = true;
|
||||
}
|
||||
|
||||
/**
|
||||
* Enable path canonicalization
|
||||
*
|
||||
* @access public
|
||||
*/
|
||||
function disablePathCanonicalization()
|
||||
{
|
||||
$this->canonicalize_paths = false;
|
||||
}
|
||||
|
||||
/**
|
||||
* Enable arbitrary length packets
|
||||
*
|
||||
@ -670,13 +680,13 @@ class SFTP extends SSH2
|
||||
}
|
||||
|
||||
/**
|
||||
* Enable path canonicalization
|
||||
* Disable arbitrary length packets
|
||||
*
|
||||
* @access public
|
||||
*/
|
||||
function disablePathCanonicalization()
|
||||
function disableArbitraryLengthPackets()
|
||||
{
|
||||
$this->canonicalize_paths = false;
|
||||
$this->allow_arbitrary_length_packets = false;
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user