Authored by 陈峰

Merge branch 'release/6.5.5' into 'gray'

fix

fix

See merge request !263
... ... @@ -28,7 +28,11 @@ exports.index = (req, res, next) => {
if (req.originalUrl && req.originalUrl.indexOf('.html') < 0 &&
!_.isEmpty(req.query)) {
return res.redirect(301, helpers.urlFormat(handleFilterUrl('/list', req.query)));
let rUrl = handleFilterUrl('/list', req.query);
if (rUrl !== req.originalUrl) {
return res.redirect(301, helpers.urlFormat(rUrl));
}
}
try {
... ...