From 44629daacc1ee556bdf62deb92701f714f321126 Mon Sep 17 00:00:00 2001 From: Jeremy Ashkenas Date: Tue, 9 Aug 2011 10:28:20 -0400 Subject: [PATCH] patching a pernicious pushstate problem. --- backbone.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backbone.js b/backbone.js index 04992811..4934a1b4 100644 --- a/backbone.js +++ b/backbone.js @@ -766,7 +766,7 @@ fragment = window.location.hash; } } - return fragment.replace(hashStrip, ''); + return decodeURIComponent(fragment.replace(hashStrip, '')); }, // Start the hash change handling, returning `true` if the current URL matches