Merge pull request #51379 from nextcloud/appStoreCacheFolder

fix(AppDiscover): Strip double-quotes from folder name
pull/51403/head
Git'Fellow 7 months ago committed by GitHub
commit bbd3a3cd87
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 4
      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');

Loading…
Cancel
Save