mirror of
https://github.com/phpseclib/phpseclib.git
synced 2025-01-14 18:59:51 +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;
|
$this->canonicalize_paths = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Enable path canonicalization
|
||||||
|
*
|
||||||
|
* @access public
|
||||||
|
*/
|
||||||
|
function disablePathCanonicalization()
|
||||||
|
{
|
||||||
|
$this->canonicalize_paths = false;
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Enable arbitrary length packets
|
* Enable arbitrary length packets
|
||||||
*
|
*
|
||||||
@ -670,13 +680,13 @@ class SFTP extends SSH2
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Enable path canonicalization
|
* Disable arbitrary length packets
|
||||||
*
|
*
|
||||||
* @access public
|
* @access public
|
||||||
*/
|
*/
|
||||||
function disablePathCanonicalization()
|
function disableArbitraryLengthPackets()
|
||||||
{
|
{
|
||||||
$this->canonicalize_paths = false;
|
$this->allow_arbitrary_length_packets = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user