Skip to content

Commit

Permalink
Set xmdpfilter URI parameter for ZIP dissemination
Browse files Browse the repository at this point in the history
  • Loading branch information
claussni committed Sep 27, 2019
1 parent 74f709c commit c86f219
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Classes/Controller/GetFileController.php
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit c86f219

Please sign in to comment.