fix(history): Improved previous pushState security fix by only fixing up double slashes in fragment if user has pushState enabled and by simply replacing all double forward slashes with single ones.
fix(history): Improved previous pushState security fix by only fixing up double slashes in fragment if user has pushState enabled and by simply replacing all double forward slashes with single ones.

davismj/history-browser,aurelia/history-browser,hitesh97/history-browser,cmichaelgraham/history-browser,aurelia/history-browser