diff --git a/src/router/router.js b/src/router/router.js index 3eb63bd126..e8cfc9b8cf 100644 --- a/src/router/router.js +++ b/src/router/router.js @@ -298,7 +298,7 @@ return _.map(params, function (param, i) { // Don't decode the search params. if (i === params.length - 1) return param || null; - var resultParam = null; + var resultParam = param; if (param) { try { resultParam = decodeURIComponent(param);