change how tags are displayed in tag image
This commit is contained in:
@@ -2,7 +2,7 @@ import crypto from 'crypto';
|
||||
|
||||
export default (router, tpl) => {
|
||||
router.get(/^\/tag_image\/(?<tag>.+)$/, 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');
|
||||
|
||||
Reference in New Issue
Block a user