whitequark/rack-utf8_sanitizer — pull request #18 by emorikawa (2014-07-23 20:10:15+00:00)
Title: Protect against Symbol keys in the rack `env`

Sometimes the rack `env` can get a key that's a symbol. This was causing
the `starts_with?` method to fail. This is simply fixed by added a `to_s`
call to the key before calling `starts_with?`

Test for the behavior by adding a dummy symbol key in the env