From b8d33ac0484463e9c4ba7fae1f06b3dbfc3d79c7 Mon Sep 17 00:00:00 2001 From: Bo Borgerson Date: Fri, 3 Jun 2016 16:59:06 -0700 Subject: [PATCH] Include URL fragment in history navigation stack pathnames (#268) This fixes #267. --- packages/react-server/core/ClientController.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/react-server/core/ClientController.js b/packages/react-server/core/ClientController.js index 7f0f00885..7ce29facb 100644 --- a/packages/react-server/core/ClientController.js +++ b/packages/react-server/core/ClientController.js @@ -45,7 +45,7 @@ function getHistoryStateFrame(request) { } function getHistoryPathname() { - return location.pathname + location.search; + return location.pathname + location.search + location.hash; } class ClientController extends EventEmitter {