documentcloud/backbone — pull request #2026 by soutaro (2012-12-26 17:53:03+00:00)
Title: History#getFragment should contain query parameters

Since the current implementation of `getFragment` returns only `this.location.pathname`, the call of `navigate` does not fire `route` event if

* The first location is with query parameters
* Navigation fired to the same URL but without query parameters

The following is the example of the issue:

- Visit `http://example.com?user=soutaro`
- Then `navigate` to `http://example.com`
- However, no routing event is fired

This is to fix this issue.