diff --git a/src/http-api.ts b/src/http-api.ts index bd26fcb..e2a1886 100644 --- a/src/http-api.ts +++ b/src/http-api.ts @@ -158,7 +158,7 @@ export class HttpApi { lastLevelObject[lastKey] = req.query[param]; } - queryOptions.filter.protocol = req.params.protocol; + queryOptions.filter.protocol = decodeURIComponent(req.params.protocol); queryOptions.filter.protocolPath = req.params[0].replace(leadTailSlashRegex, ''); const query = await RecordsQuery.create({