documentcloud/backbone — Issue #1037: Backbone history doesn't work with Safari and roots with encoded characters
Author: benkomalo
Created: 2012-02-22 21:14:02+00:00
State: open

The underlying issue is a Safari issue:
https://bugs.webkit.org/show_bug.cgi?id=30225

But it appears that window.location.pathname is returned decoded, which can confuse Backbone. As an example, Backbone.history.start checks window.location.pathname and compares it to the root. Those checks fail due to the root having encoded characters, but window.location.pathname returning decoded characters.