Browse Source
Merge pull request #51379 from nextcloud/appStoreCacheFolder
fix(AppDiscover): Strip double-quotes from folder name
pull/51403/head
Git'Fellow
1 year ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with
3 additions and
1 deletions
-
apps/settings/lib/Controller/AppSettingsController.php
|
|
|
@ -131,7 +131,9 @@ class AppSettingsController extends Controller { |
|
|
|
#[PublicPage]
|
|
|
|
#[NoCSRFRequired]
|
|
|
|
public function getAppDiscoverMedia(string $fileName): Response { |
|
|
|
$etag = $this->discoverFetcher->getETag() ?? date('Y-m'); |
|
|
|
$getEtag = $this->discoverFetcher->getETag() ?? date('Y-m'); |
|
|
|
$etag = trim($getEtag, '"'); |
|
|
|
|
|
|
|
$folder = null; |
|
|
|
try { |
|
|
|
$folder = $this->appData->getFolder('app-discover-cache'); |
|
|
|
|