browserstate/history.js — pull request #402 by jpmckinney (2014-06-11 21:00:18+00:00)
Title: Avoid double-encoding URI

`History.pushState` already calls `encodeURI`.

If `currentState.url` is already encoded, e.g. `%3A`, then it will be double encoded by `encodeURI`, and `.replace(/%25/g, "%")` will only be run once, yielding a URL of `%253A`.