mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-08 15:05:46 +01:00
fixed #1584
This commit is contained in:
@@ -62,7 +62,7 @@ middleware.addSlug = function(req, res, next) {
|
||||
if (err || !slug || slug === id + '/') {
|
||||
return next(err);
|
||||
}
|
||||
res.redirect(name + slug);
|
||||
res.redirect(name + encodeURI(slug));
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user