Authored by 郭成尧

decodeURIComponent-catch-e

... ... @@ -344,7 +344,12 @@ const listNew = (req, res, next) => {
}
if (params.sort_name) {
try {
seoTitle = decodeURIComponent(params.sort_name);
} catch (e) {
logger.error('decodeURIComponent seoTitle: ' + e);
return res.redirect('/');
}
}
try {
... ...