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

replaceState bug

Open HanCong03 opened this issue 8 years ago • 0 comments

context:

url === 'http://hostname/pathname'

bug:

getState().cleanUrl === 'http://hostname/pathname' // true

replaceState(null, null, '/pathname2')

getState().cleanUrl === 'http://hostname/pathname2' // expected to be: true, the truth is: false,the "cleanUrl" is not change.

HanCong03 avatar Dec 21 '16 04:12 HanCong03