mirror of
https://github.com/nextcloud/server.git
synced 2026-04-29 18:11:41 -04:00
Merge pull request #51402 from nextcloud/backport/51379/stable31
[stable31] fix(AppDiscover): Strip double-quotes from folder name
This commit is contained in:
commit
bef1a658b5
1 changed files with 3 additions and 1 deletions
|
|
@ -129,7 +129,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…
Reference in a new issue