Closed skade closed 11 years ago
Test is failing on Travis :(
Thats rather interesting, because "/bar/batz"
fails for me (ruby-1.9.3-p125, rack 1.5.0):
1) Rack::Protection::EscapedParams escaping escapes slashes in post bodys
Failure/Error: body.should == "/bar/batz"
expected: "/bar/batz"
got: "/bar/batz" (using ==)
# ./spec/escaped_params_spec.rb:50:in `block (3 levels) in <top (required)>'
and 1.8.7 doesn't seem to escape at all...
I'll close this one and reopen if I find time to work on it again.
Hi,
I just wrote a small spec to validate how escaped_params handles POSTs. As I didn't want to waste a perfectly good piece of code, heres a pull request.
Best, Florian