Conceal or display SabreDAV version number in browser and http response headers.

This commit is contained in:
scolebrook 2014-09-15 12:38:01 -04:00 committed by Lukas Reschke
parent 61b040cbe8
commit f31e4066de
1 changed files with 8 additions and 0 deletions

View File

@ -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)) {