diff --git a/src/inc/routes/tag_image.mjs b/src/inc/routes/tag_image.mjs index 3223079..fa0bee3 100644 --- a/src/inc/routes/tag_image.mjs +++ b/src/inc/routes/tag_image.mjs @@ -2,7 +2,7 @@ import crypto from 'crypto'; export default (router, tpl) => { router.get(/^\/tag_image\/(?.+)$/, async (req, res) => { - const tag = req.params.tag; + const tag = decodeURIComponent(req.params.tag); // Create a deterministic hash from the tag const hash = crypto.createHash('md5').update(tag).digest('hex');