From c86f219277f9049cef55f0a82ce71e4aec20829a Mon Sep 17 00:00:00 2001 From: Ralf Claussnitzer Date: Fri, 27 Sep 2019 08:37:50 +0200 Subject: [PATCH] Set xmdpfilter URI parameter for ZIP dissemination Resolves https://jira.slub-dresden.de/browse/CMR-825 --- Classes/Controller/GetFileController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Classes/Controller/GetFileController.php b/Classes/Controller/GetFileController.php index 8b9da0a70..23bf4ca99 100644 --- a/Classes/Controller/GetFileController.php +++ b/Classes/Controller/GetFileController.php @@ -174,7 +174,7 @@ public function attachmentAction() case 'zip': // FIXME Service locations on Fedora host are hard coded $metsUrl = rtrim('http://' . $fedoraHost,"/") . '/mets?pid=' . $piVars['qid']; - $path = rtrim('http://' . $fedoraHost,"/") . '/zip?metsurl=' . rawurlencode($metsUrl); + $path = rtrim('http://' . $fedoraHost,"/") . '/zip?xmdpfilter=true&metsurl=' . rawurlencode($metsUrl); break; default: