diff --git a/src/history/html5.js b/src/history/html5.js index 95c47344c..e1cdba97d 100644 --- a/src/history/html5.js +++ b/src/history/html5.js @@ -72,7 +72,7 @@ export class HTML5History extends History { } export function getLocation (base: string): string { - let path = window.location.pathname + let path = decodeURI(window.location.pathname) if (base && path.indexOf(base) === 0) { path = path.slice(base.length) }