diff --git a/module/VuFind/src/VuFind/Bootstrapper.php b/module/VuFind/src/VuFind/Bootstrapper.php index f3b5e6165eb..c37e1f437ad 100644 --- a/module/VuFind/src/VuFind/Bootstrapper.php +++ b/module/VuFind/src/VuFind/Bootstrapper.php @@ -437,7 +437,7 @@ protected function presentTurnstileChallenge( // base64_encoding the destination URL is just further obfuscation $context = base64_encode(json_encode([ 'policyId' => $policyId, - 'destination' => $event->getRequest()->getUri()->getPath(), + 'destination' => $event->getRequest()->getRequestUri(), ])); $response->getHeaders()->addHeaderLine( 'Location',