diff --git a/modules/locations/HashLocation.js b/modules/locations/HashLocation.js index f7e1540757..871f806174 100644 --- a/modules/locations/HashLocation.js +++ b/modules/locations/HashLocation.js @@ -106,7 +106,7 @@ var HashLocation = { replace: function (path) { _actionType = LocationActions.REPLACE; - window.location.replace(window.location.pathname + '#' + Path.encode(path)); + window.location.replace(window.location.pathname + window.location.search + '#' + Path.encode(path)); }, pop: function () {