history.js
history.js copied to clipboard
replaceState removes first character of hash (#) when it contains dot "."
Go to this demo URL: http://browserstate.github.io/history.js/demo/#hash.with.dots
it is modified to: http://browserstate.github.io/history.js/demo/hash.with.dots
Line of code: https://github.com/browserstate/history.js/blob/d213d8cb22e8fd1cf1c9963925e4989f8903b483/scripts/uncompressed/history.js#L1703
Third argument currentState.url contains bad URL