Conceal or display SabreDAV version number in browser and http response headers.
This commit is contained in:
parent
61b040cbe8
commit
f31e4066de
|
@ -38,6 +38,14 @@ class OC_Connector_Sabre_Server extends Sabre\DAV\Server {
|
|||
*/
|
||||
private $ignoreRangeHeader = false;
|
||||
|
||||
/**
|
||||
* @see \Sabre\DAV\Server
|
||||
*/
|
||||
public function __construct($treeOrNode = null) {
|
||||
parent::__construct($treeOrNode);
|
||||
self::$exposeVersion = false;
|
||||
}
|
||||
|
||||
public function getRequestUri() {
|
||||
|
||||
if (!is_null($this->overLoadedUri)) {
|
||||
|
|
Loading…
Reference in New Issue