config = $config; } /** * Return this classes capabilities * * @return array{files: array{bigfilechunking: bool, blacklisted_files: array, forbidden_filename_characters: array}} */ public function getCapabilities() { return [ 'files' => [ 'bigfilechunking' => true, 'blacklisted_files' => (array)$this->config->getSystemValue('blacklisted_files', ['.htaccess']), 'forbidden_filename_characters' => \OCP\Util::getForbiddenFileNameChars(), ], ]; } }