Sha256: b5b744a04400257b3da80d6984113e80b7e663a476b55417763131a13a5b5d3d

Contents?: true

Size: 240 Bytes

Versions: 26

Compression:

Stored size: 240 Bytes

Contents

unless ENV['DISABLE_XSS_SHIELD']
  puts "Loading XSS Shield"
  require 'xss_shield'
else
  class ::String
    def mark_as_xss_protected
      self
    end
  end

  class ::NilClass
    def mark_as_xss_protected
      self
    end
  end
end

Version data entries

26 entries across 26 versions & 5 rubygems

Version Path
codez-tarantula-0.5.5 vendor/xss-shield/init.rb
codez-tarantula-0.5.4 vendor/xss-shield/init.rb
artmotion-xss_shield-0.0.1 init.rb
artmotion-xss_shield-0.0.2 init.rb
relevance-tarantula-0.0.1 vendor/xss-shield/init.rb
relevance-tarantula-0.0.2 vendor/xss-shield/init.rb
relevance-tarantula-0.0.3 vendor/xss-shield/init.rb
relevance-tarantula-0.0.5 vendor/xss-shield/init.rb
relevance-tarantula-0.0.6 vendor/xss-shield/init.rb
relevance-tarantula-0.0.7.1 vendor/xss-shield/init.rb
relevance-tarantula-0.0.7 vendor/xss-shield/init.rb
relevance-tarantula-0.0.8.0 vendor/xss-shield/init.rb
relevance-tarantula-0.0.8.1 vendor/xss-shield/init.rb
romanbsd-tarantula-0.1.8 vendor/xss-shield/init.rb
romanbsd-tarantula-0.2.0 vendor/xss-shield/init.rb
codez-tarantula-0.5.3 vendor/xss-shield/init.rb
codez-tarantula-0.5.1 vendor/xss-shield/init.rb
codez-tarantula-0.5.0 vendor/xss-shield/init.rb
tarantula-0.5.1 vendor/xss-shield/init.rb
tarantula-0.5.0 vendor/xss-shield/init.rb