diff --git a/_includes/rack-protection-readme.html b/_includes/rack-protection-readme.html index b8300f3..62b193e 100644 --- a/_includes/rack-protection-readme.html +++ b/_includes/rack-protection-readme.html @@ -84,8 +84,11 @@

Session Hijacking

Cookie Tossing

-

Prevented by: -* Rack::Protection::CookieTossing (not included by use Rack::Protection)

+

Prevented by:

+ +

IP Spoofing

@@ -112,9 +115,9 @@

Installation

Instrumentation

Instrumentation is enabled by passing in an instrumenter as an option. -~~~~ -use Rack::Protection, instrumenter: ActiveSupport::Notifications -~~~~

-

The instrumenter is passed a namespace (String) and environment (Hash). The namespace is ‘rack.protection’ and the attack type can be obtained from the environment key ‘rack.protection.attack’.

+
 use Rack::Protection, instrumenter: ActiveSupport::Notifications
+
+ +

The instrumenter is passed a namespace (String) and environment (Hash). The namespace is rack.protection and the attack type can be obtained from the environment key rack.protection.attack.