history.js icon indicating copy to clipboard operation
history.js copied to clipboard

replaceState removes first character of hash (#) when it contains dot "."

Open romangazarek opened this issue 7 years ago • 0 comments

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

romangazarek avatar Dec 20 '17 23:12 romangazarek