rkh/rack-protection — Issue #8: Issue with timestamped static assets
Author: pirj
Created: 2011-10-16 19:42:44+00:00
State: open

I'm using rack-protection with Padrino/Sinatra based application, and it fails with asset timestamps (http://localhost:3000/stylesheets/style.css?1317852338):

/home/pirj/.rvm/gems/ruby-1.9.2-p290/gems/rack-protection-1.1.4/lib/rack/protection/escaped_params.rb in escape
else raise ArgumentError, "cannot escape #{object.inspect}"
/home/pirj/.rvm/gems/ruby-1.9.2-p290/gems/rack-protection-1.1.4/lib/rack/protection/escaped_params.rb in block in escape_hash

because of

Variable	Value
1317852338	nil