mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-10-27 17:16:14 +01:00
closes #6390
This commit is contained in:
@@ -133,7 +133,7 @@ module.exports = function (middleware) {
|
||||
var parts = clean.split('/').slice(0, 3);
|
||||
parts.forEach(function (p, index) {
|
||||
try {
|
||||
p = decodeURIComponent(p);
|
||||
p = utils.slugify(decodeURIComponent(p));
|
||||
} catch (err) {
|
||||
winston.error(err);
|
||||
p = '';
|
||||
|
||||
Reference in New Issue
Block a user