From 105a564c7d08be04c4a359def1a39078d37a0222 Mon Sep 17 00:00:00 2001 From: rr- Date: Wed, 30 Sep 2015 20:03:32 +0200 Subject: [PATCH] Fixed problem with %-encoded URIs --- public_html/js/Router.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public_html/js/Router.js b/public_html/js/Router.js index f47895d3..c296a244 100644 --- a/public_html/js/Router.js +++ b/public_html/js/Router.js @@ -93,7 +93,7 @@ App.Router = function(_, jQuery, promise, util, appState, presenterManager) { } function dispatch() { - var url = document.location.hash; + var url = decodeURI(document.location.hash); for (var i = 0; i < routes.length; i ++) { var route = routes[i]; if (route.match(url)) {