Class: Raven::Processor::Cookies
- Inherits:
-
Raven::Processor
- Object
- Raven::Processor
- Raven::Processor::Cookies
- Defined in:
- lib/raven/processor/cookies.rb
Instance Method Summary collapse
Methods inherited from Raven::Processor
Constructor Details
This class inherits a constructor from Raven::Processor
Instance Method Details
#process(data) ⇒ Object
3 4 5 6 7 8 9 10 11 12 13 14 |
# File 'lib/raven/processor/cookies.rb', line 3 def process(data) if data[:request] # Remove possibly sensitive cookies data[:request][:cookies] = nil if data[:request][:cookies] if data[:request][:headers] && data[:request][:headers]["Cookie"] data[:request][:headers]["Cookie"] = nil end end data end |