mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-05-06 03:17:13 +02:00
closes #2039
This commit is contained in:
@@ -98,6 +98,8 @@ Controllers.search = function(req, res, next) {
|
||||
return res.redirect('/404');
|
||||
}
|
||||
|
||||
req.params.term = req.params.term.replace(/"/g, '/"');
|
||||
|
||||
search.search(req.params.term, uid, function(err, results) {
|
||||
if (err) {
|
||||
return next(err);
|
||||
|
||||
Reference in New Issue
Block a user