documentcloud/backbone — Issue #975: internet explorer 8 invokes hashed route in backbone twice on refresh
Author: mrbiscuits
Created: 2012-02-08 11:20:29+00:00
State: open

This is easily reproducible with the below code.

The problem is when a URL with a hash (any hash e.g. http://localhost:8000/error/#whatever) is navigated to then refreshed, Internet Explorer invokes the catch-all route *url category (and alerts) but then proceeds to remove the hash and reinvoke the route a second time.

The page works as intended with Webkit, Firefox, Opera etc with only one alert triggering on a refresh. All libraries used are the latest versions.