diff --git a/src/index.js b/src/index.js index 712bd093..06d05d9f 100644 --- a/src/index.js +++ b/src/index.js @@ -41,7 +41,7 @@ function regExpResultToParams(match, names) { .slice(1, match.length) .reduce((params, value, index) => { if (params === null) params = {}; - params[names[index]] = value; + params[names[index]] = decodeURIComponent(value); return params; }, null); }