Sha256: fe9d707f9a0c3018517089fbcc8e39f22c86afcbcc9d895a1d544f9ad85ca012

Contents?: true

Size: 258 Bytes

Versions: 10

Compression:

Stored size: 258 Bytes

Contents

module Raven
  class Processor::PostData < Processor
    def process(data)
      if data[:request] && data[:request][:method] == "POST"
        data[:request][:data] = STRING_MASK # Remove possibly sensitive POST data
      end

      data
    end
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
sentry-raven-2.3.0 lib/raven/processor/post_data.rb
sentry-raven-2.2.0 lib/raven/processor/post_data.rb
sentry-raven-2.1.4 lib/raven/processor/post_data.rb
sentry-raven-2.1.3 lib/raven/processor/post_data.rb
sentry-raven-2.1.2 lib/raven/processor/post_data.rb
sentry-raven-2.1.1 lib/raven/processor/post_data.rb
sentry-raven-2.1.0 lib/raven/processor/post_data.rb
sentry-raven-2.0.2 lib/raven/processor/post_data.rb
sentry-raven-2.0.1 lib/raven/processor/post_data.rb
sentry-raven-2.0.0 lib/raven/processor/post_data.rb