diff --git a/modules/api/php/endpoints/candidate/candidate.class.inc b/modules/api/php/endpoints/candidate/candidate.class.inc index 16fbd5d44d3..b76cc3b87b3 100644 --- a/modules/api/php/endpoints/candidate/candidate.class.inc +++ b/modules/api/php/endpoints/candidate/candidate.class.inc @@ -95,7 +95,7 @@ class Candidate extends Endpoint implements \LORIS\Middleware\ETagCalculator } // Delegate to sub-endpoints - $visit_label = array_shift($pathparts); + $visit_label = urldecode(array_shift($pathparts)); $newrequest = $request ->withAttribute('pathparts', $pathparts);