@@ -16,12 +16,12 @@ discard block |
||
| 16 | 16 | use OCP\Http\WellKnown\IResponse; |
| 17 | 17 | |
| 18 | 18 | class SecurityTxtHandler implements IHandler { |
| 19 | - public function handle(string $service, IRequestContext $context, ?IResponse $previousResponse): ?IResponse { |
|
| 20 | - if ($service !== 'security.txt') { |
|
| 21 | - return $previousResponse; |
|
| 22 | - } |
|
| 19 | + public function handle(string $service, IRequestContext $context, ?IResponse $previousResponse): ?IResponse { |
|
| 20 | + if ($service !== 'security.txt') { |
|
| 21 | + return $previousResponse; |
|
| 22 | + } |
|
| 23 | 23 | |
| 24 | - $response = 'Contact: https://hackerone.com/nextcloud |
|
| 24 | + $response = 'Contact: https://hackerone.com/nextcloud |
|
| 25 | 25 | Expires: 2026-08-31T23:00:00.000Z |
| 26 | 26 | Acknowledgments: https://hackerone.com/nextcloud/thanks |
| 27 | 27 | Acknowledgments: https://github.com/nextcloud/security-advisories/security/advisories |
@@ -29,6 +29,6 @@ discard block |
||
| 29 | 29 | Preferred-Languages: en |
| 30 | 30 | '; |
| 31 | 31 | |
| 32 | - return new GenericResponse(new TextPlainResponse($response, 200)); |
|
| 33 | - } |
|
| 32 | + return new GenericResponse(new TextPlainResponse($response, 200)); |
|
| 33 | + } |
|
| 34 | 34 | } |
@@ -15,16 +15,16 @@ |
||
| 15 | 15 | $OC_VersionString = '34.0.0 dev'; |
| 16 | 16 | |
| 17 | 17 | $OC_VersionCanBeUpgradedFrom = [ |
| 18 | - 'nextcloud' => [ |
|
| 19 | - '33.0' => true, |
|
| 20 | - '34.0' => true, |
|
| 21 | - ], |
|
| 22 | - 'owncloud' => [ |
|
| 23 | - '10.13' => true, |
|
| 24 | - '10.14' => true, |
|
| 25 | - '10.15' => true, |
|
| 26 | - '10.16' => true, |
|
| 27 | - ], |
|
| 18 | + 'nextcloud' => [ |
|
| 19 | + '33.0' => true, |
|
| 20 | + '34.0' => true, |
|
| 21 | + ], |
|
| 22 | + 'owncloud' => [ |
|
| 23 | + '10.13' => true, |
|
| 24 | + '10.14' => true, |
|
| 25 | + '10.15' => true, |
|
| 26 | + '10.16' => true, |
|
| 27 | + ], |
|
| 28 | 28 | ]; |
| 29 | 29 | |
| 30 | 30 | // default Nextcloud channel |