This repo was created to demonstrate a bug/weird behavior of Backbone.Router#navigate.
var Backbone = require('backbone');
var router = new Backbone.Router();
Backbone.history.start();
router.navigate('space%20space');
Url looks something like http://localhost:3000/space%20space
Url looks like http://localhost:3000/space space
This breaks URLs when copy pasting them, etc, and in general is inconsistent behavior, because none of the other URLencoded chars get decoded.
git clone git@github.com:davis/backbone-router-test.git
cd backbone-router-test
open index.html