mirror of
https://github.com/nextcloud/server.git
synced 2026-06-10 01:00:50 -04:00
Merge pull request #51401 from nextcloud/backport/51379/stable30
[stable30] fix(AppDiscover): Strip double-quotes from folder name
This commit is contained in:
commit
6596946df9
1 changed files with 3 additions and 1 deletions
|
|
@ -128,7 +128,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