millermedeiros/crossroads.js — pull request #71 by bramstein (2012-10-24 10:01:02+00:00)
Title: Query strings do not respect the `shouldTypecast` property

This patch changes the decoding of query strings to respect the global `shouldTypecast` property.

I could tell from your unit tests that typecasting the query string values was intentional, but I feel this is a bit unexpected when I explicitly set the `shouldTypecast` property to `false`. For this reason I'm hoping you will consider accepting this patch which makes the behaviour consistent.

I've updated all the unit tests that test the typecasting of query strings and added a new one that tests that typecasting is not performed by default. All tests pass after these changes.