sinatra/sinatra — Issue #414: Possible typo in readme ("protections" may be "protection")
Author: multimulti
Created: 2011-11-17 13:59:36+00:00
State: open

Hello everybody!

Please search the readme file for
```set :protections, :except => [:path_traversal, :session_hijacking]```
Notice: The setting is called "protection" otherwise, without trailing "s".

I think this is wrong and should indeed be
```set :protection, :except => [:path_traversal, :session_hijacking]```

At least correcting this in my code solved some problems, but I can't exclude side effects etc right now.

Maybe someone can check and eventually correct this issue.

Thanks anyway :-)