Skip to content


Subversion checkout URL

You can clone with
Download ZIP


sinatra 1.3.2 test failure: test_properly_unescapes_parameters #465

graaff opened this Issue · 4 comments

2 participants


Sinatra 1.3.2 fails this test on ruby 1.8.7 (2011-12-28 patchlevel 357) [x86_64-linux]

  1) Failure:
test_properly_unescapes_parameters(BeforeFilterTest) [/var/tmp/portage/dev-ruby/sinatra-1.3.2/work/ruby18/sinatra-1.3.2/test/filter_test.rb:108]:
<"bar:baz/bend"> expected but was
rkh commented

Can you reproduce this on master? I get this neither locally (OSX) nor on travis (Ubuntu).


Yes. "rake test" on 2efb82b gives me the same failure. This is on Gentoo Linux, but I'm not sure what would be different compared to Ubuntu. I'm getting the failure with ruby 1.9 as well: ruby 1.9.3p125 (2012-02-16 revision 34643) [x86_64-linux]


Can you try bundle install && bundle exec rake and if that does not fail, paste the output of gem list?


Better yet, comparing bundler's list with what I was actually using helped me identify the culprit, which is rack-protection. I was still using 1.1.4, even though I now see that 1.2 is the minimum version listed in the gemspec. Apologies for missing that in setting up my test environment.

@graaff graaff closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.