Authored by yyq

list decode try catch

@@ -99,7 +99,7 @@ exports.index = (req, res, next) => { @@ -99,7 +99,7 @@ exports.index = (req, res, next) => {
99 resData.list.phrase = decodeURIComponent(req.query.phrase); 99 resData.list.phrase = decodeURIComponent(req.query.phrase);
100 } catch (e) { 100 } catch (e) {
101 resData.list.phrase = ''; 101 resData.list.phrase = '';
102 - }; 102 + }
103 } 103 }
104 104
105 res.render('list/index', resData); 105 res.render('list/index', resData);