We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 46cba2f commit 049d887Copy full SHA for 049d887
lib/Controller/RemoteController.php
@@ -43,6 +43,7 @@
43
use Exception;
44
use OC;
45
use OC\AppFramework\Middleware\Security\Exceptions\NotLoggedInException;
46
+use OCA\Backup\AppInfo\Application;
47
use OCA\Backup\Exceptions\RemoteRequestException;
48
use OCA\Backup\IRemoteRequest;
49
use OCA\Backup\Model\RemoteInstance;
@@ -90,6 +91,9 @@ public function __construct(
90
91
parent::__construct($appName, $request);
92
93
$this->remoteStreamService = $remoteStreamService;
94
+
95
+ $this->setup('app', Application::APP_ID);
96
+ $this->setupArray('enforceSignatureHeaders', ['digest', 'content-length']);
97
}
98
99
0 commit comments